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 @indiedev91

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#


image

Add your code like

Variable1=Variable2=Variable3=0;

image

Regards
Sudharsan

1 Like

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

Regards

Sreejith S S