Variable..--

Hi, Can someone help me how can we change the scope of unimaginary variable that we get in for each loop by Defaultly.

@Pushpendra_kowthavarapu

Before entering the For Each loop, use the “Assign” activity to declare the variable with an initial value if needed. This assigns a default value or initializes the variable.

Inside the For Each loop, you can use the variable without re-declaring it. The variable is now accessible within the loop due to its scope being broader.

By declaring the variable outside the loop, you extend its scope beyond the loop itself. This way, you can use the variable both inside and outside the loop.

Thanks and Cheers…!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.