Is it possible to run Multiple process on one attended bot?

Hi Everyone,

I would like to ask a question on attended bot, can we schedule/run multiple process on one attended bot 24/7?

Regards,
TIN_RPA

You can only run one foreground and multiple background processes on one robot. They can’t be scheduled to start automatically, instead the schedule acts as a reminder to start the process.

See: Robot - Background Process Automation - https://docs.uipath.com/

Hi,

You can run multiple background processes but only one attended process on one attended robot licence

Hi @efelantti & @Namrata_Butch
Thank you for replying to my question however I would like to describe about my bot’s scenario so that you guys will get more clarity on this.

  1. I have scheduled 3 processes/projects to run 24/7.

  2. Firstly, As soon as bot gets alerts mail as per set subject lines it goes to log tickets against those emails and what is happening some mails are getting skipped. it was working fine till only one project was scheduled to run 24/7.

  3. I have set infinite loop for this counter>0, where counter=1 & counter = counter+1 so that It should be always hit the scheduled tasks.

  4. is it getting skipped some mails as I have scheduled more than 1 processes or what?

Could you please suggest some solution on this ?

Thank You
TIN_RPA

Hi,

Attended bots are meant to work with humans and need someone to oversee them. They’re not designed to run on their own all the time.

If you want to run processes 24/7 without human supervision, you should use unattended bots. These bots can work independently and follow schedules you set for them. They’re useful for tasks that don’t need someone watching them all the time.

attended bots are like helpers for people, and unattended bots are more like independent workers that can run without someone telling them what to do.

Can anyone please reply to this question??

Would be grateful.

Regards,
Preety

Hi @neha.upase,

Appreciate your answer however my question is that I have already scheduled those 3 processes to run 24/7 on an attended bot with condition and they are running fine without any failure. the only thing which I am stuck is, it is skipping some mails which should not.

so I just want to know that if I run more than one processes 24/7 then it will work like this or there is some other way to get this?

Regards,
Preety

There shouldn’t be any issues with multiple bots running, unless they are modifying same resources at the same time.

As for skipping emails - validate you don’t have the OnlyUnread option checked. Also verify the condition you have set for the subject line.

Hi @efelantti,

Sorry, I didn’t get it. I am asking that multiple processes which are scheduled on an attended bot 24/7 not multiple bots.

As for skipping emails - validate you don’t have the OnlyUnread option checked. Also verify the condition you have set for the subject line- I have checked it all the subjects are written correctly and also checked the OnlyUnread option.

Regards,
Preety

If you have them running on separate robots (logins) then you can run multiple jobs of one process. But as previously stated using attended to run jobs like this isn’t the right way. You should be running them unattended.

As for your problem with emails being skipped, you have multiple jobs pulling from the same mailbox and that’s a problem. What you need is a dispatcher automation where you only run one job and go through all the emails. The dispatcher will create queue items from the emails and then the performer automation (which you can run multiple jobs at the same time) pulls from the queue and logs the tickets.

Hi @postwick,

Thank you very much for your suggestions.
Actually we do not have orchestrator that’s why can not use queue’s concept for this. all the projects have been developed in the UiPath studio and scheduled it on an attended bot to set under the while continuous loop conditions. Outlook is also same for all the projects/tasks.

So what I understood is if we want multiple tasks to run 24/7 without failure then should use unattended bot.

However I have a question that we are using attended bot for all our automation requirements and it is working(although some tickets are getting skipped, but it is working) so I am not understanding that we can not run multiple tasks on an attended bot.

could you please let me understand it, would be appreciated.

Regards,
TIN_RPA

Can you show your filter options and a sample mail that was skipped?

I am sharing the outlook properties SS where u can see the filtered options-

Can not share email as different mails always get skipped sometimes not…

Regards,
TIN_RPA

You have the OnlyUnreadMessages checked, please uncheck it. Also you are reading only 30 emails, set it to empty instead to not have a max value. Then move processed mails to a different folder, to not have the robot process same emails again.

Hi @efelantti,

Please check my comments below-

1.You have the OnlyUnreadMessages checked, please uncheck it- I have checked it as only needs to read new mail. if i uncheck it then it will move all read and unread mail.

  1. Also you are reading only 30 emails, set it to empty instead to not have a max value- I have tested this and when I set it to empty then It just started and got ended didn’t go to check mails to the outlook.

  2. Then move processed mails to a different folder, to not have the robot process same emails again- I have already set the condition to move the mails from inbox to an other folder so that It will not create duplicate mail.

Regards,
TIN_RPA

Are you certain then that nobody reads the mails in between runs? In my opinion, it’s better to have the robot process both read & unread, and instead move processed mails to another folder.

Mistake from my part, haven’t used this activity in a long time :slight_smile: Set Top = Integer.MaxValue to have no upper limit on amount of read emails.

If some tickets are getting skipped then it’s not working. And that’s probably happening because, as I said, you have multiple jobs pulling from the same mailbox at the same time.

Hi @postwick,

Yes, It might be a reason for skipping.

Thanks!

Regards,
TIN RPA