Page 1 of 1

Problem with simple loop

Posted: Wed Jun 17, 2020 7:46 pm
by arosti
Hi!

I am an old RoboTask user, but there have been a couple of years that I have not needed it. Now I have a special need where I think RoboTask could be helpful. So I downloaded an evaluation of the latest version in order to find out if I could use it.

The problem I have encountered is with Simple Loop action. To test this, I have a Test task where
- a local variable {I} is defined as Destination Variable of Simple Loop action
- Show Message action should show the variable value

Running the task, a message shows nothing where the variable should show loop "index" value. The task log shows no errors. If I define another variable, its value is available (tested with a message action). What can be wrong?

Screenshots as attachment.

Re: Problem with simple loop

Posted: Wed Jun 17, 2020 10:10 pm
by Oleg
Look at the loop action
You have to specify variable name only. Without braces. Use I (not {I})
If RoboTask encounters the expression with braces {} it think that it is some expression to expand and tries to retrieve the value of expression