To execute asynchronous logic, use Timers. This is useful to execute batch tasks like sending emails at a predetermined time, or to execute logic to configure an application after its deployment.
A timer can be awaked in three different ways:
On a predetermined time;
After the application has been published;
Either programmatically or manually.
To create a timer in your eSpace simply:
In the eSpace tree, under the Process layer, right-click on the Timer folder and select Add Timer;
Choose the action to execute when the timer wakes;
Select when the timer will wake. Learn how to wake the timer.
Learn more about the Timer properties.
The Scheduler Service is the service responsible for running timers. It checks the timers that are set to run and execute their actions. To see more about which timers are ready to be called check how timers are handled.
In the Service Center you can see the timer status and its logs. See more about timers monitoring.
If the specified action has input parameters, when creating the timer you need to specify the values that are passed as parameters when the timer wakes. However, if the action has output parameters, there is no way of accessing them after the action is finished executing.
Read the Timers and Asynchronous Processes technical note to know more about:
How Timers are Handled | Timer Properties | Runtime Properties of Timers