Best way to reset multiple variables each time a bot loops?

HI guys I have a set of 30 variables within a bot and I want to reset 25 of them at the beginning of the Bot’s main loop so that each time it iterates, those variables are set back to “”.

Is there a better way to do this rather than creating 25 separate ‘Assign’ activities?

If you create them at the right scope, then they will reset to default value automatically…

1 Like

Hi @bcorrea, I’m actually trying to keep them as global variables if possible.

This is hard to understand why you would have that many variables, but the fastest would be Multiple Assign activity, or Invoke Code…