XenoGuard Documentation

Wait

Actions » Programming » Action Script » Wait 

The action Wait halts the execution of the current action script until the asynchronously started child script has been finished. Subsequently, the execution is continued.



[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the Action Script node, select the Wait action.

Parameters:

The action has the following input parameters:


name Description
Action
The reference to the action step that previously started the action script asynchronously.

Allowed Context Scope
 [Fixed]

Example 1 (Run a script after a first asynchronous script has finished):

This example starts a child script numValueProduct.xen asynchronously and then waits with Wait until it has finished. The result of the child script is then output via Message Box.

The master action script:

This is the child action script that will be called by the master action script:

See other action script operations:

Start
Return
Cancel
Write Error
Write Result
Append Result