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

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

  • The Daily Plan is used to manage Orders that are executed by Workflows available with the connected Controllers. 
  • The Daily Plan runs existing JS7 - Schedules and generates Orders for the resulting days and start times. This applies to Schedules that specify a single start time for an Order and to Schedules that specify cyclic starts. For each start time in a cycle an individual Order is created. Planned Orders are available for any modification of start times and variables. In a subsequent step such Orders are submitted to the respective Controllers. 
  • This functionality is available for automation with the JS7 - Daily Plan Service. In addition, JOC Cockpit offers a user interface to manage the Daily Plan, to create Orders and to submit Orders to Controllers.

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 which days and start times Orders should be created. Schedules are available from the Configuration View:


Use with the Daily Plan Service:

  • The checkbox "Plan Order automatically" specifies that the Schedule will be applied when running the Daily Plan Service. Orders created by this service 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.

Daily Plan View


Explanations:

  • Calendar Panel: The calendar panel offers to navigate to a specific date to display the Daily Plan.
    • The panel shows the list of Submissions, i.e. the points in time when Orders have been created for the selected date.
  • Detail Panel: The detail panel displays Orders available for the selected date.
    • Filters are available to limit the list of Orders to the given order state. In addition, late Orders can be filtered to find Orders that exceeded their start time.
    • Groupings are available to display Orders per Schedule or per Workflow.

Create Daily Plan

The functionality to create a Daily Plan is offered by the calendar panel of the Daily Plan View. It includes to create Orders and optionally to submit Orders to Controllers.


Explanations:

  • The Daily Plan can be created for any released Schedules and it can be limited to a selection of Schedules.
  • If a Daily Plan previously has been created for the same date then existing Orders can be considered or can be overwritten.
  • Creating a Daily Plan includes two steps:
    • Plan 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.
    • Submit Orders
      • The Submission step includes to forward Orders to any Controllers to which the underlying Workflow has been deployed.
  • Users can decide if they want Orders to be immediately submitted to a Controller. Should Orders not be submitted immediately then this can be done later on from the Daily Plan View. Consider that the Daily Plan Service will automatically submit planned Orders for a number of days ahead within the scope of its configuration.

Delete Submissions

Submissions are a means to avoid conflicts with the Daily Plan Service that will not consider Daily Plan dates for which Submissions are available. Submissions are automatically added when Orders are submitted to a Controller.

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 a previous planning has been performed. If no Submission is available for a given date then the Daily Plan Service will consider existing Orders for 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.

Operations on Orders

The Daily Plan View offers a number of operations on Orders that partially are available as bulk operations. Availability of operations depends on the state of selected Orders.

Operations to Submit, to Cancel and to Remove Orders

  • The operation to submit and to remove Orders from the Daily Plan can be performed for Orders in a PLANNED state. 
    • Removal from the Daily Plan includes that such Orders do not exist any longer. The Daily Plan Service considers removal of Orders and will not re-create the respective Orders.
  • The operation to cancel Orders can be performed for any order state except for the PLANNED state.

Operations to Suspend and to Resume Orders

  • The run-time operations
    • to suspend Orders can be performed for the order states INPROGRESS, RUNNING and WAITING.
    • to resume Orders can be performed for Orders with a SUSPENDED state.

Operations to Modify Order Start Times and Order Variables

Both operations to modify Order start times and to modify Order Variables include to drop existing Orders and to re-create them with the same Order ID.

Modify Start Times

The operation offers to specify a new date for execution of the Order. The Order will be added to the Daily Plan for this date respectively.

Modify Variables

JS7 - Order Variables can be declared per Workflow. When modifying variables then values have to be indicated for required variables. In addition, optional variables can be added or removed.

Daily Plan History View

The Daily Plan holds the history of Submissions, i.e. the information when Orders have been submitted to Controllers and the successful/failed result of this operation.

The history of Submissions is available from the History -> Daily Plan menu.


Explanations:

  • This view offers to select Submissions for a range of Daily Plan dates. 
    • Consider that the Submission date is the point in time when an Order has been submitted. The Daily Plan date is the point in time that the Order is scheduled for.
    • Filtering is available for the Submission status being successful or failed.
  • For each Daily Plan date a number of Submissions can be available if the Daily Plan has been re-created for the respective date.
  • Each Submission includes the Orders that are affected by the underlying operation.
  • As for any history view consider that the information displayed can be focused on the currently selected Controller or can include information from any connected Controllers.

Daily Plan Service

The Daily Plan Service is an unattended background service that plans and submits Orders as indicated with Schedules.

Find details from the JS7 - Daily Plan Service article.


  • No labels