The transaction number is not detecting the next page in the process of dispather what to do of assingnment of advanced robotic automation course

Hi,

I have a process with REF design with input coming from queue1. Once bot reach point A, bot push item1 into queue2, and business would need to approve/reject in Action Center.
Queue2 is to monitor item1 status is Approved/Rejected on Action Center.

Lets say that item1 is approved/rejected, bot would need to sent notification email which is point B.

My question is:

  1. How can bot resume straight from point B once item1 is approved/rejected in Action Center?
  2. Would bot be stucked with item1 until action is taken on Action Center? What’s the idea for the bot to be able to continue process next item2 from queue1?

Please advice best practice for this.
Thank you.

@syezids

You have a wait for resume task which will suspens the bot and will resume after approval…

Cheers

hi, really appreciate your fast input, and i have gone through that documentation. However I don’t think that answers my 2 enquiries,

Hey

just complementing Anil’s, within our DU projects we use the parallel for each activity and inside that for each we put the Create Action Center Task and the Wait for Task and resume activities (we need those 3) the parallel activity will allow us to process all the documents at the same time, it means that if 2 of 10 documents require validations, our process will process the first 8 documents that not require any kind of validations and the other 2 will go to the action center, the bot will get a suspended state until the user validate it, once validate the bot will process the document automatically

hope this helps

Regards!

@syezids

  1. Question 1: by default using this taks resumes from the next step…thats the functionality of this activity
  2. Question2: so bot will be suspended till aprooved…yes.I beleive that is the ask…

Nice inputs @fernando_zuluaga

Cheers

1 Like

hi @fernando_zuluaga @Anil_G,

based on your input, let’s say all 10 documents need to be validated in Action Center, then bot would be suspended forever until 1 of the documents is validated, right?

I think of creating another discrete process for point B (from my initial question on this post), which would be triggered based on approval/rejection on Action Center. This way, the main REF process can process all items from queue1 without being suspended.

Kindly advice on this idea if it’s plausible.

if i am not wrong, the limit is between 24 and 48 hours to validate each document once the bot get suspended, after that the job will get as abandoned state

@syezids

For long running processes yes it will get suspended till all the 10 are completed …say 7 are validated and 3 are not yet…then the bot will wait for all 10 and only then it will process the remaining

https://docs.uipath.com/orchestrator/lang-ru/v0/docs/working-with-long-running-workflows

Cheers

Absolutely false. Suspended jobs can be left in that state for months.

Regarding this,

I am curious where you got this from. In my experience it will break long before you can use 1,000 job triggers and that UiPath recommend you do not put Persistence activities in For Each loops.

@Jon_Smith

Here it is :slight_smile: Orchestration Process

Which is linked here

Cheers

Interesting, I have definitely had issue with using parallel as it makes too many API calls to the Orchestrator at once and will break as when one thread wakes up (say a Queue item or job resumes) all the threads will ping the Orchestrator. If you have 500 threads in your parallel loop and 499 ping the Orch after the first is done you end up the Orchestrator blocking the request as being spammed by too many requests at once.

There are definitely issues with some of the loop types, I think the looping over rows in a table doesn’t resume properly, but a normal loop does.