I’m working on employee onboarding process where employee details are coming from mail with documents attached.
So to automate this process, if dispatcher uses 1 bot and performer uses 2 bots, how the bot ensures it is processing all the emails?
For ex. lets say there are 10 emails to be processed with employee documents.
dispatcher would pick 10 emails and add to queue.
now, which performer will process 10 emails?
performer bot 1 or bot 2
Like I want to know how the work is divided among the bots to process fast and save time.
Please clear my confusion.
Any help is appreciated
It really depends on how you have set your triggers.
For eg, if you defined only bot 2 to run the performer process, then only that bot would do it.
If you have not defined any specific bot then whichever bot is available at the moment will pick that job.
And if you enable your dispatcher process as a background process(if that does not involve any ui interactions), then using only 1 bot, both processes (1 being background and other one being foreground) can be managed but 2 licenses will be used for this.
Are you planning to use not Queue Trigger but getting queue item in performer?
If so, 10 queue items are not divided into 2 group in advance. Available performer will process them in order with FIFO rule basically (in case that priority or deadline is not set).
For example, let’s say that two performers, A and B, are running.
A grabs the 1st queue item from queue and processes it.
B also grabs the 2nd queue item from queue and processes it.
When A finished to process, A grabs next queue item : the 3rd item.
If B has some trouble and it takes long time to finish the process and A has finished 3rd queue item before B finishes 2nd item, A grabs 4th queue item ad processes it.
FYI, the following document will help you, if it’s necessary to set priority or deadline.
dispatcher adds 10 queue items, and Orchestrator assigns items dynamically so both performer bots pick available items in parallel until all are processed.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath
if both bots are available to run and are added to trigger then both would pick items 1 each and process them till all items are completed…it can be division in anyways based on how much time it takes to complete one item