Skip to main content
Nintex Community Menu Bar
Answer

When using a Loop step in a workflow, incorrect execution behavior occurs

  • June 19, 2023
  • 2 replies
  • 238 views

Forum|alt.badge.img+4

I create a Loop step in a workflow. I find that the first time the loop executes, it behaves expectedly.

However, when the Loop step is entered the second time (in the same workflow instance), the Loop seems unable to process each participant and directly finishes looping. I suspect that it is related to the loop index being unable to reset after the first execution.

 

Not sure if this issue is related to this. The version of K2 Five that we are using is 5.5.

 

Best answer by paulk

I was having an issue with on prem K2 5,4. Alternate rows were being skipped in my case…...

What I did was to just create the reference to the items before the loop step then just refer to the previously created reference in the loop step:

Then use it:

 

 

Cheers

 

2 replies

Forum|alt.badge.img+9
  • Rookie
  • Answer
  • July 13, 2023

I was having an issue with on prem K2 5,4. Alternate rows were being skipped in my case…...

What I did was to just create the reference to the items before the loop step then just refer to the previously created reference in the loop step:

Then use it:

 

 

Cheers

 


Forum|alt.badge.img+4
  • Author
  • Scholar
  • July 13, 2023

Your answer looks feasible. Thanks.