How to assign a single number to multiple variables in a single assign activity

so in the end of the foreach i want to make all the int variable to be zero again so when the new loop starts all the variable holds zero

but i don’t want to use multiple assign activity , i just want a single assign active for assigning zero to all the int variable

Hi @sagar.raval

Checkout this method

Use a invoke code activity and pass the variables in your arguments and set as in/out and change the language to C#


Add your code like




1 Like

Without multiple assign it is not possible to change multiple variable values


Sreejith S S