Local Variables are not reseting

  • 156 Views
  • Last Post 17 December 2020
Kirill.Zaznobin@softline.com posted this 08 December 2020

Hi Team!

Faced wierd issue when after running a process in debug mode local variables are not reseting to default (it should be null, not 'True') for "While" component (screenshot below). 

Is there something wrong in my workflow? 

Order By: Standard | Newest | Votes
Intellibot Support posted this 09 December 2020

Hi,

Thanks for the sharing this, our team is looking into it. One suggestion based on screenshot, you're connecting Variable back to While loop which is not correct as already While loop is continuing.

Thanks & Regards,

Intellibot Support.

Kirill.Zaznobin@softline.com posted this 10 December 2020

Hey, thanks for your response!

But if I want my while loop to be based on variable, then what should I do? In this situation I want the process to repeat until "i" is below 5 or particlar element is found.

Intellibot Support posted this 12 December 2020

Hi,

Please see the below screenshot, hope this helps!!.

You can set the variable to False before the loop. In this case, once the condition is true then it comes out of the loop.

Thanks & Regards,

Intellibot Support.

Kirill.Zaznobin@softline.com posted this 17 December 2020

Thanks for suggested solution! I'll use this one. 

However, are you going to change this behavior of the loop tool in future release or this assumed to be normal?

Intellibot Support posted this 17 December 2020

Hi,

We are going to get this fixed in our next releases.

Thanks & Regards,

Intellibot Support.

Close