Versions Compared

Key

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

...

  • the Options Instruction is used to set the StopOnFailure attribute.
  • the first Lock Instruction expects the pdErrorLockBig Lock being present.
  • the second Lock Instruction occurs inside the first instruction and expects the pdErrorLockSmall Lock being present.
  • the job3a job is assumed to fail with return code 3.

In the Configuration view the workflow looks like this:

...

  • no Options Instruction is used.
  • the first Lock Instruction expects the pdErrorLockBig Lock being present.
  • the second Lock Instruction occurs inside the first instruction and expects the pdErrorLockSmall Lock being present.
  • the job3a job is assumed to fail with return code 3.

In the Configuration view the workflow looks like this:

...

  • the Options Instruction is used to set the StopOnFailure attribute.
  • the first ConsumeNotices Instruction expects the Notice01 Notice being present.
  • the second ConsumeNotices Instruction occurs inside the first instruction and expects the Notice02 Notice being present.
  • the job3a job is assumed to fail with return code 3.

In the Configuration view the workflow looks like this:

...

  • no Options Instruction is used.
  • the first ConsumeNotices Instruction expects the Notice01 Notice being present.
  • the second ConsumeNotices Instruction occurs inside the first instruction and expects the Notice02 Notice being present.
  • the job3a job is assumed to fail with return code 3.

In the Configuration view the workflow looks like this:

...

  • the failed order moves to the outmost ConsumeNotices Instruction.
  • the Notice01 and Notice02 Notices are freed and remain available for parallel ConsumeNotices Instructions in other workflows.

...

Cycle Instruction

Use with StopOnFailure Option

This example introduces a situation when users find JS7 - Cycle Instruction in a workflow.

Download (upload .json):

The example implements nested use of ConsumeNotices Instructions the Cycle Instruction with orders remaining at their workflow position in case of failure.

  • the Options Instruction is used to set the StopOnFailure attribute.
  • the failed-jobthe second ConsumeNotices Instruction occurs inside the first instruction and expects the Notice02 Notice being present job is assumed to fail with return code 3.

In the Configuration view the workflow looks like this:

Use without StopOnFailure Option

...

  • no Options Instruction is used.
  • the incrementfailed-job job is assumed to fail with return code 3.

...

When the order is resumed it will return to the begin of the Cycle Instruction:

Further Resources