Versions Compared

Key

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

...

Introduction

  • Schedules determine the start times of Orders, the Workflow and any Variables assigned to Orders.point in time when orders for workflow execution will start. They assign a workflow and optionally variables that are used by jobs in the given workflow.
    • Start dates are specified by JS7 - Calendars and limit
    • Start times are based on JS7 - Calendars that specify the days for execution of Ordersworkflows.
    • Start times are specified by Schedules that can further limit the days for workflow execution.
  • Schedules create orders on a per day basis 
    • for one-time execution of workflows: this includes that a workflow starts at a number of specific points in time per day
    • for cyclic execution of workflows: this specifies repeated execution of workflow based on configurable Users specify the Order's start time and optionally cyclic execution in intervals.
  • Schedules are applied by the JS7 - Daily Plan to create Orders orders for the given resulting date and time.

...

This video explains the handling of schedulesSchedules:

Widget Connector
urlhttps://www.youtube.com/watch?v=wbIE52uixKk

Manage Schedules

Add Schedule

Schedules are available from the Configuration -> Inventory view.

Image Removed

Explanations:

  • A Schedules is assigned a unique name.
  • A Schedule includes a reference to a Workflow for which Orders will be created.
  • A Schedule is assigned a run-time that specifies a JS7 - Calendar and the rules for dates and times when Orders are to be run.
  • A Schedule can include a number of Variables, see JS7 - Order Variables.

Assign a Run-time to a Schedule

Status
colourYellow
titleTBD

->Inventory View in in the respective sub-folders.

  • The tree in the left panel offers an action menu to create a Schedule.
  • The action menu is available from any Schedules object folder.

Image Added


When adding a Schedule a popup window asks for the object name:

Image Added


As a result an empty Schedule object becomes available:

Image Added

Add Run-time 

The Schedule object view offers the Add Run-Time button to specify the start time of orders created by the Schedule:

Image Added

Add Calendar

In a first step the Assign Working Day Calendar button is used to select from the list of available Calendars:

Image Added

Add Period

In a next step with the Calendar being assigned the Image Added icon in the Period column is used to specify the start time.

  • The Single Start repeat interval allows to specify the time when an order should start.
  • Users can add any number of periods with a Single Start interval to an order's run-time to cover specific points in time during the day.

Image Added


A Repeat interval can be chosen as an alternative to the Single Start interval:

  • The Repeat interval requires the Repeat Time to be specified, for example to execute every 10 minutes.
  • The Begin and End of the repeat period have to be specified, for example from 8am to 8pm.

Image Added

Add Restriction

Schedules allow to add Restrictions that further limit the days for which orders are created:

  • Restrictions correspond to Frequencies available for Calendars.
    • They allow to further limit the days for which orders are created.
    • Restrictions are not applied for days that are not in scope of the underlying Calendar.
  • For details how to add Restrictions/Frequencies see JS7 - Management of Calendars.

Image Added

Add Workflow


Assign Variables

...

  • Variables are declared with a Workflow. The declaration includes specifying if a Variable is mandatory or can make use of a default value.
  • The user interface for Schedules requires that any mandatory Variables are assigned a value.
  • In addition, values for optional Variables can be specified.

Release a Schedule

  • When a Schedule is edited with the user interface then it is considered a draft.
  • A draft Schedule can be valid or invalid and is automatically stored, however, it will not be used before it is released.
  • To release a Schedule the respective user interface operation is required.
    • The Schedule will be validated for completeness which results in a valid/invalid status.
    • In case of an invalid Schedule check that all required configuration items such as the Schedule name, Workflow, Run-time and Variables have been assigned.
    • A valid Schedule is released which makes it usable by the Daily Plan either for manual or automated creation of Orders.

Explanation:

  • A Schedules is assigned a unique name.
  • A Schedule includes a reference to a Workflow for which Orders will be created.
  • A Schedule is assigned a run-time that specifies a JS7 - Calendar and the rules for dates and times when Orders are to be run.
  • A Schedule can include a number of Variables, see JS7 - Order Variables.

Release Schedule

Schedules are not deployed to a Controller and Agent. Instead, they are used by the JS7 - Daily Plan Service to create orders for workflow execution at the given days.

Schedules know a draft status and a released status:

  • A draft status is visible from Image Added icon and from the Image Added orange bullet.
    • The draft status is in place when a Schedule is added or modified and is not yet released.
      • A draft Schedule can further be invalid which is indicated by the Image Added icon. This happens due to missing input or invalid data added to the Schedule by the user.
      • Invalid Schedules are automatically stored in the same ways as valid Schedules. However, they cannot be released before they are valid.
      • Validation is performed with a JSON Schema, see JS7 - Inventory Storage Format.
    • Draft Schedules are ignored by the Daily Plan when creating orders for workflow execution.
  • A released status is visible from the Image Added icon and from the Image Added blue bullet.
    • Valid Schedules only can be released.
    • Released Schedules are applied by the Daily Plan to create orders for workflow execution.
    • In addition they are considered when manually creating the Daily Plan from the respective view.

Cyclic Orders vs. Cyclic Workflows


Use

...

with the Daily Plan

When configuring a Schedule then two settings can be checked that determine use with the Daily Plan:

...