Skip to main content

Hi,

 

I am using loop action in my workflow but it’s not looping for every 5 minutes. After statement is true it will going inside the loop but it’s not looping after that, for your reference I attached what I developed.

But same concept what I developed was working fine in another environment (another server) what is the issue can you please suggest asap.

 

Thanks,

Jagadeeswar Reddy.

Hi,

What are your Loop parameters?

Regards,

Christophe


Hey,

what happens after the first loop? Is there any error after the first loop?

Or is the error that the loop is taking too long?

Kind regards,

Enrico


hi

After going inside the loop it's not comeout it struck in loop itself


Hi,

Do not forget to increase your index.

Regards,

Christophe


Hi,

As Cristophe suggests, you need to have a parameter that makes the loop exit when the correct number of iterations through the loop are hit. For the workflow to be stuck in the loop, the loop exit is not being triggered.

Have a look at the verbose workflow history logging to see why it is not exiting the loop.

Cheers,

Mark


hi Christophe,

Can you please elobarated what u are telling.

where i have to give index in loop can you please give full idea


Whenever you're looping you have a declared condition in your loop. Usually this is something like "while something is not greater / smaller than something else". To not create an infinite loop you need to implement a "step" mechanism like increasing an index or decresing a relation that the condition is listening to.

Could you show a screenshot and / or declare the configuration of your loop action? What is your condition in your loop?


loop.png


i am using one parallel block, one side i am configuring one flexi task another side loop for escallation mail.

At the starting time workflow variable(reviewer) set as 0 after approve i am setting value as 1. already i show loop configuration in above image. till approve or resend for correction the loop will be iterate. incase he approved it has to come out from the loop. my scenario is working fine in one server but not working in another envirornment means another server.Tell me what's the issue

loop description.png


Can you use a Foreach instead, then you wouldn't have to worry about the variable you need in the Loop to increase?


Reply