Skip to end of metadata
Go to start of metadata

Parameters whose name is a combination of the job chain node state and the parameter name (for example start/command) can be used in JITL Jobs. The state and parameter name have to be separated by a slash. These parameters are exclusively used by the job in the job chain whose state 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 nodes with a unique value for each node:

 <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>

Further References

 

Write a comment…