Go to documentation repository
Page History
| Section | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
General information
This macro allows executing actions depending on whether or not the previous action is finished within the specified time.
Configuring an action
To configure this macro, do the following:
- Go to the Programming tab.
- In the Event rules or Cycle rules list, click Create... (see Configuring macros).
- If necessary, select a start condition that triggers a macro (see Configuring start conditions).
- Click the button below start conditions.
- From the drop-down list, select Programming: Wait till previous action finishes.
- In the Timeout parameter, set the time to wait for the previous action to be executed in HH:MM:SS format. If you set the time to 00:00:00, the wait time is infinite.
- Specify the action that must be executed if the previous action:
- Completes within the wait time specified in the Execute if previous action completes before timeout parameter.
- Doesn't complete within the wait time specified in the Execute after timeout if previous action is not completed before that time parameter. If the wait time
This is the IF condition for running a command (only if the previous steps are completed/not completed in the specified time).
To configure, set up the following parameters:
- Set waiting period in HH:MM:SS format for previous action to be performed (1). If 00:00:00 is set, then waiting will last forever.
- Specify the action to perform if the previous command was completed within the specified timeout (2). Specify the action to perform if the previous action was not completed within the specified timeout (3). If the timeout
- is 00:00:00, this
setting is not applicable- parameter isn't relevant.
Note title Attention!
- parameter isn't relevant.
...
This command does not affect the commands below (outside of) it.
The Wait till previous action finishes macro doesn't apply to actions below (outside) this command.
- Click the Apply button.
Configuration of the Wait till previous action finishes action is complete.
Example use for a Cycle rules macro
This macro starts replication Example: In this macro, replication (1) and the program on the Сlient (5) start at the same timeclient simultaneously. If replication is completed completes within 10 minutes (2), an Email message (3) email notification is sent. Otherwise, if not, a voice alert (4) notification is played.


