...
Open the Conditions Editor, if there are no In-Conditions added then in the In-Conditions tab there will be written "No inconditions Inconditions found. Click Here To Add". Click on "Click Here To Add" to add an In-Condition.
...
Another Conditions Editor will open. Add the expression to be evaluated. You can use the Expression Editor to check what expressions are supported by Job Streams. Then select a Command which is to be executed if the expression becomes true. The In-Condition supports two commands:
- startJob: This command starts the job according to the value of Command Param if the expressions evaluate to true. The default value of Command Param now, which means the job will be started as soon as the result of the Expressions becomes true.
- writeLog: This command writes the message provided in the Command Param to the log.
How to add an In-Condition to a job?
Open the Conditions Editor, switch to the Out-Conditions tab there will be written "No Outconditions found. Click Here To Add". Click on "Click Here To Add" to add an Out-Condition.
Another Conditions Editor will open. Add the expression to be evaluated. You can use the Expression Editor to check what expressions are supported by Job Streams. By default, the expression is set to "returncode:0" which means the success of the job. Then select a Command which is to be executed if the expression becomes true. The Out-Condition supports two commands:
- Create Event: The Create Event Event List is used to create an event if the expression for the Out-Condition evaluates to true. The default name of the Event to be created is the same as that of the jobs name.
- Delete Event: The Delete Event Event List is used to delete an existing event if the expression for the out-Condition evaluates to true.