I have a problem with a workflow. In it I generate several ways depending on the imputs with the use of the Java If Node.
One of the ways includes a loop inside a methanode. Everything works fine if the active port of the Java If node corresponds to the loop. However, when the port is inactive, and the workflow is executed, the metanode does not finish executing (a clock symbol appears). If you go inside the methanode, the green circle does not appear at the loop end node. However, by clicking the run button twice, the methanode appears fully executed.
In the console a warning only appears when the Chung loop start node is executed:
WARN Chunk Loop Start 3: 2976: 2944 Unable to merge flow object stacks: Conflicting FlowObjects: <Loop Context (Head 3: 2976: 2944, Tail unassigned)> - iteration 0 vs. <Loop Context (Head 3: 2976: 2944, Tail unassigned)> - iteration 0 (loops / scopes not properly nested?)
Anyone who has experienced a similar case where you need to run a loop end node twice to get it fully executed?
Thank you very much in advance