Int32 Datatype for loop

I want INT datatype value one bye one in for loop:-

any solution for this?

Hi @sams,

Foreach is always for collections only, For loop only can be done with integer, which is not supported in UiPath.

You can use Do while instead of this.

Check this link for Do while

Hi sams,
You cannot loop through integer,it should be a datatable or datarow @sams

You can use while loop. See example in studio. Or here you can put Enumerable.Range(0,5) instead of your variable “a”