Bot will ask the end time to the end user to enter in input dialogue box in 24 hours for example 13:30,
if the end time is over than bot should stop the process and send an email in the end state to business
If the end time is not over the bot should continue with the actual process
Note: User should pass input time in correct format.
As you can see in below image current time was 14:05 and in input we passed 13:30 that’s why we got output as false. and execution will go to end process state, as no Transaction_Item value will be assigned.
Then, move the Get Transaction Activity into the Then Block.
In Else Block: Assign
outTransactionItem = Nothing
As long as the condition remains true, the bot will fetch transactions from the queue. However, once the current time exceeds the user-defined input time, the condition will become false. At that point, the execution will move to the else block, and no new transactions will be fetched from the queues. The process will then proceed to the end state.