Versions Compared

Key

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

...

Cyclic Workflows vs. Cyclic Orders

Consider that the Cycle Instruction allows to create cyclic workflows as an alternative to use of JS7 - Schedules for cyclic orders.

  • Execution a
    • A
    • Cycle Instruction spawning a complete workflow is an
    alternative to using JS7 - Schedules for
    • equivalent to a cyclic orders
    .
    • from a Schedule.
    • In addition, a Cycle Instruction can be used to execute parts of a workflow in cycles.
  • Efficiency
    • Schedules create a number of order instances for each period in a cycle, Running a single workflow every 30s counts to 2880 orders per day.
    • Cycle Instructions cause cyclic execution of a workflow from a single order.
    • Processing of cyclic workflows is by far more efficient than use of cyclic orders.
  • Error Handling
    • Failure
      • If a job in a workflow fails then this will occur for each order instance of a cyclic order individually.
      • If a job within a Cycle Instruction fails then depending on the error handling in place any cycles that would occur while an order is in a failed state are skipped..
    • Notification
      • For each failing order instance of a cyclic order a JS7 - Notification is created.
      • For the single order of a cyclic workflow a single Notification is created.
    •  Intervention
      • Any
    • The difference being that JS7 - Schedules create cyclic orders whereas the Cycle Instruction causes cyclic execution of a workflow for a single order.
    • For each cyclic order a separate log entry is created while cyclic workflows report to the same log.
    • When it comes to error handling then any
      • operations on cyclic orders are applied to all
      orders
      • order instances included
      with the cycle, e.g.
      • , for example to resume execution after failure
      that
      • . This results in parallel execution of orders previously scheduled for execution in intervals.
      • For cyclic workflows there is a single order
      , therefore any cycles that would occur e.g. during an order's FAILED state are simply skipped.
    • Processing of cyclic workflows is by far more efficient than use of cyclic orders.
      • that waits for user intervention.
  • Logging
    • For each order instance of a cyclic order a separate entry is created in the JS7 - Order History and in the JS7 - Task History.
    • For a cyclic workflow there is a single entry in the Order History that is appended the log output of each cycle. Individual entries per job execution are added to the Task History.
    Display feature availabilityStartingFromRelease2.1.0

Elements of the Cycle Instruction

...