Interview questions 2

i need to crack tcs interview for UiPath … what topics or scenario based questions do i go through ?

  1. if suppose there are 50000 records in queqe and the robot has to start from 6 am and it need to exactly stop at 2 pm … how to stop it exactly at 2 pm ?

Hi @Pooja_Kanwar

You can schedule the bot to start at 6 am using the Time Trigger. When setting up the Time Trigger, enable the “Schedule ending of job execution” option and enter 8 in the hours field to stop the bot at 2 pm.

If you want to terminate the bot exactly at 2 pm, select the “Kill” option from the dropdown. This will abort the process immediately, even if the bot is in the middle of executing a queue item. If you select the “Stop” option, the bot will complete the current queue item before stopping the execution.

Check the below image for better understanding,

Hope it helps!!

Other solution - but not ending exactly 2 pm.
Every time the proces try to get a new record - you can check if the time is before 2 pm. Make an if with condition like ‘now.tostring(“hhMM”)<1400’
If you know a record takes 4 minuttes - just change the condition to 1355.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.