XenoGuard 4.0 Documentation

ActionScript Wait

ActionStep Reference » Programming » Script » ActionScript Wait 

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



[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the ActionScript node, select the Wait ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description
Action
The reference to the ActionStep step that previously started the ActionScript 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 ActionScript:

This is the child ActionScript that will be called by the master ActionScript:

See other ActionScript operations:

Start
Return
Cancel
Write Error
Write Result
Append Result