cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Why does my loop finish before the criteria has been met?

Jump to solution


I have created a simple workflow which loops every 5 minutes until two fields on the current item are no longer "empty" eg.

Loop while: value 1 is empty AND value 2 is empty

The loop ends once value 1 is populated and value 2 is still empty. I've tried a few different variants on this loop, and I get a variation of results none of which match the actual criteria.

I've tried:

workflow 1 status is not "completed" AND workflow 2 status is not "completed"

workflow 1 status equals "In progress" AND workflow 2 status equals "In progress"

I have even tried reversing the logic, however this just exits the loop immediately.

Tags (1)
0 Kudos
Reply
2 Replies
fhunth
Nintex Newbie

Re: Why does my loop finish before the criteria has been met?

Jump to solution

could you export it and send the workflow?

0 Kudos
Reply
mlauer
Nintex Newbie

Re: Why does my loop finish before the criteria has been met?

Jump to solution

It's OK that the loop ends if one value is not empty because the AND expression evaluates to false in this case.

An OR expression evaluates to false only if both values are not empty.

0 Kudos
Reply