02-02-23 10:52 AM
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.
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.
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