Skip to main content
June 22, 2023
Question

Want to add User Input Task in loop

  • June 22, 2023
  • 4 replies
  • 0 views

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.

4 replies

harshitb6843
June 22, 2023

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. 

June 22, 2023

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.

June 22, 2023

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