Only execute activity if first time run in a loop

Hello all,

I am checking if it’s possible for the bot to do a certain activity only if it’s the first time of run of an if condition.

Eg: the bot loop through data in excel and type into a text box on a webpage. the wanted solution here is that the bot only click this one button (a button to display a table) only for the first value of the data, as the following clicking action for next data only would hide the table.

Is this possible? pls help. thx

@syezids …how about setting a counter…if counter is 0 or 1 perform the activity and increment the counter…so the next time when it checks for the counter value it won’t match then the activity won’t get performed.

ahh yes that worked! shouldve realised it can be that simple :] thannks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.