Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

  • You want a job chain to execute exclusively one order at a time. Subsequent orders should wait until the previous order has passed to the end of the job chain.
  • You could

...

  • specify the attribute max_orders=1 for your job chain.
    • Additional orders will wait before the first job node of a job chain.
    • Such orders will start immediately after their predecessor passed the job chain.
    • The sequence of orders that are added to the job chain is respected.

 

Code Block
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <job_chain max_orders="1">
    <job_chain_node state="100"
                    job="jobsSample_1"
                    next_state="200"
                    error_state="error"/>
    <job_chain_node state="200"
                    job="jobsSample_2"
                    next_state="success"/>
    <job_chain_node state="success"/>
    <job_chain_node state="error"/>
 </job_chain>