Haven’t got a chance to work using Action Center.
When we use Action Center the bot stops till the action is completed.
But I want to know if a queue item uses Action Center does it completely stop or it moves to the next transaction item?
Kamal
Haven’t got a chance to work using Action Center.
When we use Action Center the bot stops till the action is completed.
But I want to know if a queue item uses Action Center does it completely stop or it moves to the next transaction item?
Kamal
It will wait. When the job reaches Wait For Form Task And Resume, it gets suspended until someone completes the task in Action Center. After that it resumes from the same place. So if one job is looping through queue items, it will not go to the next item meanwhile.
To keep other items processing, the better design is one job per queue item. Make the process handle only one item (no looping inside the project). Create the task, then use ‘Wait For Form Task And Resume’. Set up a queue trigger in Orchestrator to start multiple jobs, so every item gets its own job and waits separately.
The UiPath Document Understanding Process template also works like this. It does not process items in bulk. It runs one job for each input file, and a dispatcher is needed to feed it. So if one item is waiting for Action Center, the other items run in their own jobs. This makes parallel execution of items possible.
You can refer below UiPath Docs:
Hi @kkpatel ,
If your current queue transaction pauses and waits for user action and does not automatically move to the next transaction item within the same execution then avoid blocking robot resources, use a long-running workflow with persistence so the robot can work on other jobs while waiting.
Thanks
what is long-running workflow with persistence ?
You can use action center with Wait for Form Task and Resume activity.
Thanks
but the question is if we use Action Center in normal REFramework flow, then for one transaction if it waits for the task, then can other transaction items be processed or they have to wait for the action of the first transaction to complete?
Hi @kkpatel,
In a normal REFramework flow, that specific job will pause and wait—it won’t move to the next transaction item until the first Action Center task is completed.
That said, because Wait for Form Task and Resume suspends the job and frees up the robot license, the other queue items don’t have to sit idle if you have a Queue Trigger configured. Orchestrator will just spin up a new job on that same free robot to pick up the next transaction item while the first job stays suspended.
One quick heads-up though: Wait for Form Task and Resume only works directly in Main.xaml (not inside Process.xaml) and requires all variables in scope to be serializable, so standard REFramework needs a bit of tweaking to support it. Because of that, most teams either remove the loop and run one job per queue item, or split it into two processes—one that creates the Action Center tasks for all items, and a second one that resumes once the tasks are completed.
Hope this helps!
Hi @kkpatel,
The whole job is suspended at Wait For Form Task And Resume activity, so it won’t move to the next activity until the action is completed. When the job is suspended, the bot will be relieved, and it can process the remaining items with new jobs.
The current item stays In Progress and no other job picks it up. When the task is done, the same job resumes and sets it to Successful or Failed.
Cheers!