Solved

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

  • 19 June 2023
  • 2 replies
  • 116 views

Badge +3

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.

 

icon

Best answer by paulk 13 July 2023, 10:05

View original

2 replies

Userlevel 3
Badge +9

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

 

Badge +3

Your answer looks feasible. Thanks.

Reply