Do activity while a<3

HI, I want to make an activity which only repeat 3 times, so i create variable called a (int 32) with default value 0;

in a basic programming, I can do the increment like this:
while a < 3

do
activity

a=a+1

my question is, how to make the logic a=a+1 in UIPath? which function I should use?

Hi Raspi_Erwin,

you can use the assign activity for this.
a on the left hand box, and a+1 on the right hand box.

Thanks

1 Like

@Raspi_Erwin use assign activity