I’m working with two data tables in Automation Anywhere and I need to loop through both tables simultaneously while comparing values (specifically temperatures). The challenge I’m facing is incrementing a counter once for both tables as I go through each row.
Here’s what I want to achieve:
- I have two tables:
WeatherOld
andWeatherCurrent
. - I need to loop through both tables at the same time, comparing values from corresponding rows in both tables (e.g., comparing temperatures from the same city).
- I want to increment a counter once for both tables after processing each set of corresponding rows.
How can I structure my loops and ensure the counter increments correctly for both tables at once?
Any suggestions or guidance would be much appreciated!
Thanks in advance!