AnsweredAssumed Answered

Run "foreach" more than just one time?

Question asked by simuuh on Feb 28, 2017
Latest reply on Feb 28, 2017 by simuuh

Hello Community


Is it possible to run a "foreach" in a statemachine more than just one time?


When the workflow runs "correct" (happy path) the "foreach" runs once (red arrows):

State 1 -> State 2 -> State 4


Now if we take the blue arrow path, the "foreach" does not process the collection a second time, the "foreach" will skiped.

Can someone tell me what is the problem?

State 1 -> State 2 (foreach run) -> State 3 -> State 1 (get all items again) -> State 2 (foreach will skipped) -> ...


Hopefully I explained it clearly