Variables

The command output can also be used to set a variable to the appropriate values. Command steps must use String variable types.

The value of the variable can be used as part of a Conditional transition to determine the path the workflow follows. It can also be used later as part of a decision step to determine the workflow path.

For example, a Command step can return a value of 0 for failure and 1 for success. This output can be assigned to a variable, and then a Conditional transition or a decision step can use this value to determine which workflow path to take.

The command and its arguments can each be specified explicitly by the person designing the workflow or can be set as a string variable. If either one is set as a string variable, there must be a previous step in the template where the variable is set to a string value.

From a command step, you can set Conditional, Unconditional, Timeout, or Alert, or Error transitions. An Error transition should always be included so error conditions can be handled properly.

NOTE:If the first step of a workflow fails without an error transition, the iTRAC process cannot proceed.

For trademark and copyright information, see Legal Notices.