I want to implement a scenario where a User Input Task is getting assigned to a configured user in loop which is getting executed based on some real time data, please see the screenshot below to understand the scenario better.
The issue here is when 2nd time I'm reaching out to Approval Task I'm not able to open the interface it says "The Task Could Not Be Submitted The task has already been submitted." Please see below
Neither I'm getting any notification email for this Task.
Can someone please suggest what am I doing wrong here, or if there is anything wrong with this implementation.
Discussion posts and replies are publicly visible
You can isolate the task in a sub-process and configure that sub-process to run asynchronously. That should let you assign the tasks in a loop.
Are you sure that this error is for the second task only? I can see that the XOR node is still active and the flow has not reached to the UIT second time, I think this error is from the first task only which is already submitted. Can you please right click on the UIT and check how many instances are there?
edit: If you check your XOR node, you have configured 2 incoming flows but XOR only allows one and exclude other that's why it is still active. Please follow this design
Thanks for the response Harshit,
I did created a subprocess with the user input task and used MNI(Multiple node input) for the looping, but as I wanted to assign all the tasks in sequence one after another I have kept it synchronised.
In addition to question asked above, is there any way we can execute a subprocess(Synchronously) till a condition is satisfied using "Automatically run multiple instances of this node" option in the other tab of subprocess properties?