It seems that the Loop/For each action in 2010 is having issues or there is something I'm missing.
I have a simple workflow that runs a loop while a value is greater than the other:
- Set a number type variable (testValue = 200000)
- Loop (testValue is greater than 100000)
- Math operation (testValue = testValue - 25000)
- Send a test notification with the testValue result.
Although there is a 5-7 minutes delay between iterations, in Nintex Workflow 2007 executes correctly but in 2010 it doesn't.
In 2007 I receive the 4 test notifications with the result value for each iteration (175000, 150000, 125000, and 100000).
In 2010 this is what happens:
- Fist notification is received (175000)
- After a while the following notification arrives:
" The WorkflowName workflow has ended unexpectedly for ItemName.
WorkflowName failed to run.
Click here to view the workflow status. "
- Then a notification is received with the second iteration result (150000), the workflow status remains In Progress but it doesn't perform any remaining action (the 2 notifications with 125000 and 100000 results are never sent or it doesn't continue to the next iteration in the loop)
I don’t know if this is a misconfiguration in the Nintex Workflow settings.
An advice will be much appreciated.
Thanks,
Raul