52.22.7 Wait

The Wait activity basically does nothing at all, and in effect it temporarily halts the execution of the workflow branch where it is located. After the wait time has expired, the execution proceeds to the next activity.
When following a (voice) "Dial" or "Video Activities" activity, the Wait has the apparent effect of giving duration to the call, and this construction is the most convenient method of controlling the call length. The situation with Start ... Scan activities is similar. Furthermore, the Wait activity comes in useful whenever some other tasks need to be separated in time.

Mode property: Select if you like to set the time to wait (Normal), or if you like TEMS Investigation to set a random time (Random).

Duration property: This property governs how long to wait. Only available when Mode is set to Normal.

Min/Max Duration property: These properties governs the time range where the random value will be set. Only available when Mode it set to Random.

Comment property: Here you can enter a free-text string which will be displayed on the Status tab of the Service Control Designer or Monitor window as the activity is executed (see section "Monitoring Script Execution Status"). This is useful if the script contains multiple Waits and you want an easy way to see which one is being run.

Generate Event property: Set to True to generate a "Wait Activity Sync Event" at the end of the activity.

For usage examples, see sections "Basics of Creating Scripts (with Voice)", "While Loops", "Example 2: Concurrent Activities on Different Devices", and "Notes on Script-controlled Logfile Recording".