Details
-
Fix
-
Status: Released (View Workflow)
-
Medium
-
Resolution: Fixed
-
2.0.0
-
None
Description
Current Situation
- A Cycle Instruction includes two periods.
- Period 1: start time at 18:00 for 1 hour with a ticking cycle of 2 minutes.
- Period 2: start time at 19:05 for 1 hour with a ticking cycle of 2 minutes.
- An order enters the Cycle Instruction before Period 1 on the same day.
- The cycle starts when the start time of Period 1 is reached . The order runs in cycles as configured by the Cycle Instruction.
- The order performs its last cycle at the end of Period 1 and leaves the Cycle Instruction. The order does not wait and enter Period 2 or any later periods.
- Similar behavior applies to any number of periods of a Cycle Instruction: the order will leave the Cycle Instruction having completed the cycles of the period at which it entered the Cycle Instruction. This is not the desired behavior.
- Find attached examples of the JOC Cockpit's pdCyclePeriods.workflow.json and the Controller's pdCyclePeriods.controller.workflow.json .
Desired Behavior
- Users expect an order to run cycles for all remaining periods of the current day in a Cycle Instruction.
- In the above example the order will be executed for Period 1 and Period 2.
- It is an option for the Cycle Instruction to make an order pass the next period only, see
JS-2079.
Workaround
- Users can schedule two orders. One order with a start time earlier than the start time of Period 1 and one order with a start time later than the end of Period 1 and earlier than the start time of Period 2.
Attachments
Issue Links
- is related to
-
JS-2079 Cycle Instruction provides an option to make an order consider a single period
- Released