...
Code Block |
---|
<job_chain> <job_chain_node state="100" job="PowerShellExecutor" next_state="150" error_state="error"/> <job_chain_node state="150" job="PowerShellExecutor" next_state="200" error_state="error"/> <job_chain_node state="success"/> <job_chain_node state="error"/> </job_chain> |
The parameters for the job chain nodes are defined in a separated configuration file :
Code Block |
---|
<settings>
<job_chain name="powershell_with_parameter">
<note language="de"/>
<note language="en"/>
<order>
<params/>
<process state="100">
<note language="de"/>
<note language="en"/>
<params>
<param name="Script_Filename"
value="$\{SCHEDULER_DATA\}\config\live\samples\90_powerShell\powershell_with_parameter_set.ps1"/>
<note language="de">
<div xmlns="http://www.w3.org/1999/xhtml"/>
</note>
<note language="en"/>
</params>
</process>
<process state="150">
<note language="de"/>
<note language="en"/>
<params>
<param name="Script_Filename"
value="$\{SCHEDULER_DATA\}\config\live\samples\90_powerShell\powershell_with_parameter_get.ps1"/>
<note language="de">
<div xmlns="http://www.w3.org/1999/xhtml"/>
</note>
<note language="en"/>
</params>
</process>
</order>
</job_chain>
</settings>
|
related downloads:
...