Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents

 

Column


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:

  1. Go to the Programming tab.
  2. In the Event rules or Cycle rules list, click Create... (see Configuring macros).
  3. If necessary, select a start condition that triggers a macro (see Configuring start conditions).
  4. Click the Image Added button below start conditions.
  5. From the drop-down list, select Programming: Wait till previous action finishes.
    Image Added
  6. 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.
  7. Specify the action that must be executed if the previous action:
    1. Completes within the wait time specified in the Execute if previous action completes before timeout parameter.
    2. 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:

  1. 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.
    Image Removed
  2. Specify the action to perform if the previous command was completed within the specified timeout (2). 
  3. Specify the action to perform if the previous action was not completed within the specified timeout (3). If the timeout
    1. is 00:00:00, this
  4. setting is not applicable
    1. parameter isn't relevant.
      Note
      titleAttention!

...

This command does not affect the commands below (outside of) it.

    1. The Wait till previous action finishes macro doesn't apply to actions below (outside) this command.


  1. Click the Apply Image Added 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.

Image RemovedImage Added