Versions Compared

Key

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

...

  • The Cycle Instruction allows to repeat all jobs or a number of jobs and additional instructions in a workflow.
  • The Cycle Instruction can be used
    • to spawn the complete workflow,
    • to spawn a number of instructions and jobs in a workflow,
    • in a sequential way by using a number of Cycle Instructions within the same workflow,
    • in a nested way by embedding Cycle Instructions within the same workflow.
  • The Cycle Instruction offers some versatile options when to repeat execution and how often this should happen.
  • Cyclic workflows are an alternative to use of Schedules for cyclic orders.

Cyclic Workflows vs. Cyclic Orders

  • Consider that a Cycle Instruction spawning a complete workflow is an alternative to using JS7 - Schedules for cyclic orders.
    • 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 included with the cycle, e.g. to resume execution after failure that 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 workflowsorders.
  • Display feature availability
    StartingFromRelease2.1.0

...

  • periodical execution: allows to specify periodic points in time, as e.g. for the 10th, 15th, 40th minute of each hour.
  • continuous execution: allows to specify a fixed-length pause between cyclic repeated executions of the cycle.
  • ticking execution: allows to specify a fixed-length interval between each start of a cyclefor repeated starts of the cycle.

In addition for any cycles included with a Cycle Instruction a the rule set specifies

  • the period begin of first the cycle considering the workflowDaily Plan's time zone,
  • the maximum duration for which cycles are the cycle is repeated, for example for 8 hours.

...

  • if the Cycle Instruction includes a rule set for the weekday of the order's scheduled date then this is considered by the order Cycle Instruction and makes the order wait for the first cycle to start.
  • if the Cycle Instruction does not includes a rule set for the weekday of the order's scheduled date then the order skips the cycle.

...