Duplicate user tasks created after loop

Hi,

When creating a user task, duplicate task are created after loop in process.
The first hit before loop I have 1 task in Handle AP Fail.
After first loop I have 2 task in Handle AP Fail.
After second loop I have 4 task in Handle AP Fail.
After thirds loop I have 16 task in Handle AP Fail.

Can someone explain why this behavior happen?

The expected result is that the user task stay to 1 after every loop.

I triggered a callback to handle the user task of ap fail.

The loop is happen in this step.

Here is my bpm model
Payment-dummy.bpmn (34.9 KB)

I already checked the xml file and make sure there is no duplicate source and target ref.

Any help will be great! Thank you.

Solved. There is duplicate incoming flow in sub process. Make sure to check the xml file and match it with the model in canvas.

1 Like