You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Purpose

  • The Daily Plan Service is used to create and to submit orders for a Daily Plan to a any connected Controllers. 
  • The Daily Plan Service runs existing Schedules and generates 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 times. For each start time in a cycle an individual order is created.
  • The similar functionality is available from the JOC Cockpit GUI for operation by users, however, the service performs this task automatically for a configurable number of days ahead.

Schedules

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 days and start times 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 - 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 to a Controller includes that for 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.

Submitted Orders

The submission step includes to forward Orders to any Controllers to which the underlying Workflow has been deployed.

Configuration

Location

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

Configuration Items

SectionSettingDefaultRequiredPurpose
daily_plantime_zoneUTCnoSpecifies the time zone that is applied to the start time of the Daily Plan Service and period of the Daily Plan

start_timeperiod_begin - 30mnoSpecifies the start time to run the Daily Plan on a daily basis with the indicated time zone

period_begin00:00noSpecifies the begin of the 24 hours Daily Plan period with the indicated time zone

days_ahead_plan7noSpecifies the number of days ahead for which orders are generated and are made available with the PLANNED state

days_ahead_submit3noSpecifies the number of days ahead for which PLANNED orders are submitted to Controllers and are made available with the PENDING state

Logging

  • The Daily Plan Service logs general messages, warnings and errors to the joc.log file.
  • More detailed information in addition is logged to the service-dailyplan.log file.
  • For details see JS7 - Log Files and Locations


  • No labels