Versions Compared

Key

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

...

  • The Daily Plan Service is used to create and to submit orders Orders for a Daily Plan to Controllers. The service is operated in background and acts on a daily basis to plan a number of days ahead.
  • The Daily Plan Service runs existing JS7 - Schedules and generates orders Orders for the given start times. This applies to Schedules that specify a single start time for an order and to Schedules that specify cyclic start timesstarts. For each start time in a cycle an individual order Order is created.
  • The similar functionality is available from the JS7 - Daily Plan View for operation by users, however, the service performs this task automatically for a configurable number of days ahead.

...

Orders are created from Schedules that indicate the workflow and variables to be used as well as the run-time specification, i.e. the rules for what which days and start times orders Orders should be created.

  • The checkbox "Plan Order automatically" specifies that a Schedule will be applied when running the Daily Plan. Orders created by this step are added with a PLANNED state.
  • The checkbox "Submit Order to Controller when planned" specifies that any PLANNED orders Orders - from the current Daily Plan run or from previous runs - will be submitted to a Controller and will result in a PENDING Order state.
    • Submission of an order Order to a Controller includes that for an Order is submitted to any Controllers to which the respective Workflow has been deployed an Order is submitted.

Planned Orders

The planning step includes to create Orders from Schedules and to make them available with the PLANNED state. Such Orders are visible with the Daily Plan View for the given date.

...

  • This is intended to prevent conflicts with user interventions: a user can e.g. remove any Orders for a given date and the Daily Plan Service will not try to populate that date with Orders.
  • The Daily Plan Service considers the fact that a Submission has been created for a given date - either by the Daily Plan Service when previously generating Orders or by user intervention. If a Submission is found then no Orders are created for that Daily Plan this date by the service.
  • However, users are free to delete Submissions with the Daily Plan View. Deleting a Submission does not remove Orders, it just hides the fact that for the given date the a previous planning has been performed. If no Submission is available for a given date then the Daily Plan Service will check existing Orders for that this date and will create additional Orders if required by the underlying Schedules. Practically speaking: if a user drops e.g. 3 Orders out of 10 for a given date and deletes the Submission then the Daily Plan Service will re-create the supplemental 3 Orders.

...

  • Restarting JOC Cockpit will not cause additional runs of the Daily Plan Service.
  • However, a user can intentionally force a re-run of the Daily Plan Service by using the Dashboard View -> JOC Cockpit widget and selecting the action menu item Restart Service -> Daily Plan Service.

...

  • Configuration items to e.g. plan or to submit Orders for 3 days ahead exclude the current dateday.
  • The resulting operations operation of the Daily Plan Service to plan and to submit orders ahead are therefore independent from the time during in the current day for which the service is startedrunning.

Configuration

Location

  • The "Settings" menu is available from the JOC Cockpit GUI.

...