This Help topic refers to the following editions:
þ Enterprise þ Professional þ Small Business.
Overview: Executes a script code.
Allowed inputs: many
Allowed outputs: one (if the script does not return any value) or many (depending on possible script results)
Description:
The script block just executes a script code. In most cases, the script block will have only one output. But you can also use multiple outputs from script block, it will depend on script result. You can define the script result by using result variable:
result := 'result1';
If you have more than one output, each leaving transition should have a label, and the execution flow will take the transition which label is the same as the script result. In the example above, you must have a transition labeled "result1" so the execution will follow that path.