Hello Community
Question:
Is it possible to run a "foreach" in a statemachine more than just one time?
Problem:
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