cancel
Showing results for 
Search instead for 
Did you mean: 

#BPTechTips #TipOfTheDay - Utility - General - "Sleep action"

#BPTechTips #TipOfTheDay

To sleep/pause the process execution for a certain amount of time developers can use the Utility-General - Sleep action on the process layer.

E.g.
22308.png22309.png
You simply need to pass a number value which is in seconds and your execution would be on hold during that time.
We can use this type of static sleep stage when the delay is known. Also, this is called unconditional wait as we are not passing any condition.

It is good practice to hold such delay variables in configuration files and environment variables.

If you go inside the Sleep action you will notice a simple wait stage without any condition at the object level.

22310.png
Care must be taken during the use of such hard static sleep stages as it may reduce process performance due to time delays.

Sleep action is a small part but plays a major role in blue prism automation.

What other ways have you used sleep action in your experience?
Feel free to add more insights to this #BPTechTips.

#BPTechTips #TipOfTheDay



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
0 REPLIES 0