- Objective: you want a job chain to execute exclusively one order at a time.
Subsequent orders should wait until their predecessor(s) have proceeded 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 have been added to the job chain will be respected.
<?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>