Configuring the Wait node

The Wait node is grouped with Control activity nodes and is simple to configure.

Note: 

The Wait node brings down the processing of a workunit and results to local (non-global) variables not being saved. To prevent this from happening, you must define your variables in the Start node so that they continue to be available throughout the process.

Note: 

If the Trigger node encounters the Wait node in the triggered workunit, the Trigger node will continue with the flow even if the node triggers the workunit synchronously.

  1. On the General tab, specify this information:
    Configuration name

    Optional. Select the configuration that you want to be used for this activity. If you want to use an existing configuration, select a name from the list. If you leave the field blank, the default configuration will be used.

    Select Option

    If you want to add a specific time frame on this tab, select Direct Values.

    If you want to create a time frame variable in conjunction with either the Start or Assign node, select Variable.

    Wait Time

    If you are using the Direct method of input, specify the numbers that correlate to the time frame for the wait period using Day, Hours, Minutes, Seconds, or a combination.

    Leave Day blank if the time frame is less than one hour.

    Wait timeframe examples:

    You can use the Day, Hour, Minute and Second parameters in any combination to configure the time frame that you need. The following examples illustrate.

    Configuring a 90-second wait period:

    • Day = "0" Hour = "0" Minute = "0" Second = "90"

      or

      Day = "0" Hour = "0" Minute = "1" Second = "30"

    Configuring a 1 hour wait period:

    • Day = "0" Hour = "1" Minute = "0" Second = "0"

      or

      Day = "0" Hour = "0" Minute = "60" Second = "0"

    Configuring a 48 hour wait period:

    • Day = "2" Hour = "0" Minute = "0" Second = "0"

      or

      Day = "0" Hour = "48" Minute = "0" Second = "0"

    Configuring a 60 hour wait period:

    • Day = "2" Hour = "12" Minute = "0" Second = "0"

      or

      Day = "0" Hour = "60" Minute = "0" Second = "0"

    Keep Workunit active

    Select this check box if you want the workunit thread to be retained when the flow goes through the Wait node. During the wait period, the workunit keeps the thread active, and therefore, the status of the workunit is "Processing" instead of "Waiting". After the wait period is done, the flow continues to the next node.

    Keeping the workunit active prevents the flow from losing the workunit thread when the flow undergoes a short wait time. If this option is not enabled, the flow loses the thread and the thread goes back to the waiting queue after the wait time is over.

    We recommend using this option only if the wait time is very short (for example, the flow has to wait for only a few seconds before continuing to the next node), or the Wait node needs to be used inside a loop (using the Wait node inside any loop without this option enabled is not supported).

  2. On the On Error tab, specify this information:
    What should happen on an error?

    Select from the available options.

    Notify

    Select the check box if you want to send a notification when an error occurs. If this option is selected, you must fill out the notification details.

    Custom log entry

    Select the check box if you want a custom log entry in addition to the system-generated log entry.