XenoGuard Documentation

Append Result

Actions » Programming » Action Script » Append Result 

The action Append Result copies from a source action the entire contents of the argument list, communication list or result list and transfers them to the result list of the parent action script.


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

Parameters:

The action has the following input parameters:


name Description
Action
The source action from which the list content is to be copied.

Allowed Context Scope [Local]
Search Target
The type of list to copy.

Allowed Context Scope [Fixed]
Allowed Values [Arguments, Results, Communications]

Example 1 (Add arguments of a parameter to the parent script):

In this example, the content of the local parameter BMI is checked, which has a Text data type. The actions in the Then branch are executed if the BMI is greater than or equal to the specified number otherwise the Else branch is executed and the Value is passed to Write Result. A child action script, writetext.xen, is then executed and appends the result to the Action Script Results. The value of the Argument from the Write Result and the Result after calling the child action script is then output via Message Box.

The Master Action Script:


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


See other action script operations:

Start
Wait
Return
Cancel
Write Error
Write Result