Versions Compared

Key

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

...

If the Options Instruction is in place and specifies the Stop on Failure attribute then failed orders will remain with the failing instruction, for example a job.

...

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

...

  • the failed order remains with the failed job.
  • the pdErrorLockBig and pdErrorLockSmall Resource Locks remain blocked by respective Lock Instructions and are not freed before the order leaves the instruction block.

...

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

...

ConsumeNotices Instruction

Use with

...

StopOnFailure Option

This example introduces a situation when users find a nested JS7 - ConsumeNotices Instruction.

...

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

Cylce Instruction

Use with StopOnFailure Option

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

Download (upload .json):

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

  • the Options Instruction is used to set the StopOnFailure attribute.
  • the failed-job
  • the second ConsumeNotices Instruction occurs inside the first instruction and expects the Notice02 Notice being present.

In the Configuration view the workflow looks like this:

Image Removed

Use without StopOnFailure Option

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

Download (upload .json):

The example implements use of a Cycle Instruction with orders moving to the begin of the Cycle Instruction in case of failure.

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

...

Image Removed

At run-time in the Workflows view the workflow looks like this for a failed order:

...

Further Resources

...

Image Removed

...

Image Removed

Further Resources