5.4.2 Item execution condition
When you edit an action flow from the Item Design View, you can specify an item execution condition for a unit.
Specify a condition that consists of a statement to the effect that the return value of the preceding unit is either equal to or not equal to the specified value. The item specified in the unit is executed when the condition is satisfied, and skipped when the condition is not satisfied. If the specified preceding unit does not exist, has not ended yet, was forcibly terminated, or ended when the timeout period was reached, the conditions are considered not to be met. When the execution of the item specified in the unit is skipped, the state of that unit would be Ended normally (unexec).
- Organization of this subsection
(1) Inherited information
When an action is executed, information about the execution is stored. This information is called inherited information. The inherited information can be referred to using the methods described in Table 5-5 List of inherited information of actions.
When you want to refer to the results of the unit in an action flow, specify the user-defined unit name in a method.
- Example
-
When you refer to a standard output message output by command execution in the action flow:
${JDS:unit-name.GetStdOut()}
No. |
Action |
Method |
Description |
---|---|---|---|
1 |
Command execution |
unit-name.GetStdOut() |
Returns a message output to the standard output.# |
2 |
unit-name.GetStdErr() |
Returns a message output to the standard error output.# |
|
3 |
unit-name.GetStdOutFile() |
Returns the name of the file that stores the output of messages to the standard output. |
|
4 |
unit-name.GetStdErrFile() |
Returns the name of the file that stores the output of messages to the standard error output. |
|
5 |
unit-name.GetExitCode() |
Returns the return code of the command when the monitoring condition was met. |