...
Parameters whose name is a combination of the job chain node state (or step) and the parameter name (for example start/command
) can be used in JITL jobsJobs. The state and parameter name must have to be separated by a slash. These parameters are only exclusively used by the job in the job chain whose state -name is mentioned in the parameter name.
Example:
...
Using a parameter with the same
...
name in different job chain nodes
In the following example the parameter with the name "command" is used in different steps nodes with a unique value for each step.node:
Code Block |
---|
<params > ... <param name="step1/command" value="ls"/> <param name="step2/command" value="select * from table;"/> <param name="step3/command" value="do something"/> ... </params> <job_chain .... > <job_chain_node state="step1" job="MailBoxCleansing" next_state="step2" error_state="!CleansSchedulerTest"/> <job_chain_node state="step2" job="MailBoxCleansing" next_state="step3" error_state="!CleansSchedulerTest"/> <job_chain_node state="step3" job="MailBoxCleansing" next_state="success" error_state="!CleansSchedulerTest"/> <job_chain_node state="success"/> <job_chain_node state="!CleansSchedulerTest"/> </job_chain> |