Parameters, whose name is a combination of the job chain state (or step) and the parameter name (for example start/command
) can be used for this job. The state and parameter name must be separated by a slash. These parameters are only used by the job in the job chain whose state-name is mentioned in the parameter name.
Example: Different Steps with the same parameter name
In the following example the parameter with the name "command" is used in different steps with a unique value for each step.
<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>