Versions Compared

Key

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

...

  • Jobs in a workflow can be limited to start execution in specific periods only.
    • A job can be configured to start not earlier than e.g. 10pm. If an order arrives earlier then the order has to wait until 10pm.
    • In addition, a period can be specified to define a timeslot, e.g. from 10pm to 11pm, during which the job can be started. Note that the timeslot limits the start time of the job, a job that is started before end of the period can continue to run even if the period is exceeded. Users who want to limit the execution time of a job should use the Timeout attribute, see JS7 - Job Instruction.
  • Such limits are considered Admission Times ("opening hours") and can be adjusted per day of week, day of month or specific dates. For example, a job can be configured for an earliest start time for Monday at 10pm and for Saturday at 2pm.
  • Multiple periods per weekday, month day and date can be configured.
  • A period can exceed midnight of the current day, it can be configured to span a number of days. The maximum period is one week.

...

  • If an Admission Time has been configured for the date for which the order is scheduled and
    • the order arrives before begin of the Admission Time then the order will wait until the Admission Time is reached.
    • the order arrives during the Admission Time then the order will immediately start the respective job.
    • the order arrives after the end of the Admission Time then the order will wait for the next Admission Time, for example a later Admission Time on the same day or on a later day.
  • If an Admission Time has been configured but does not include the day of week, day of month or date for which the order has been scheduled then
    • the order will skip the job and will continue with the next instruction in the workflow.
  • If no Admission Time has been configured then
    • the job will be executed at any point in time depending on the arrival time of the order with the job node in the workflow.

...

Admission Times can be configured from the Job Property Editor in a workflow. The tab Job Options displays a link Show Periods for Admission Times.

  • Consider that for input of timeslots the time is assumed in the time zone specified for the Workflow.
  • If the Job needs to be skipped when Admission time does not include the day of week, day of month or date for which the order has been scheduled then the Check Box Skip if No Admission for Daily Plan Date needs to be checked.


When clicking the Show Periods link from the above screen then the Job Property Editor displays options for Admission Times.

Weekdays

Admission Times can be indicated by weekdays specifying Monday to Sunday like this:


Explanations:

  • Users can select days of week for which the job should be executed.
    • For any weekdays not specified by an Admission Time the job will be skipped.
  • The start time and duration make up the period of the Admission Time
    • Users can select weekdays, add the start time and duration just once and hit the Add button to apply the same start time and duration to the selected weekdays.
    • Periods can be modified individually.
    • Per weekday multiple periods can be specified.

...

In addition to weekdays an option is offered for specific weekdays:


Explanations:

  • Specific weekdays are indicated by the number occurrence of the day weekday in month and the weekday.
    • Examples for counting forwards: first Monday, second Thursday, fourth Friday
    • Examples for counting backwards: third last Friday, second last Thursday

Month Days

Admission Times can be indicated by month days specifying relative dates counting from the begin or end of month like this:

...

  • Users can select one or more month days, add a period & duration and use the Update button to apply Admission Times.
    • For months that use less than 31 days, selecting the 31st, 30th, 29th day is translated to the last day of month.
  • Similarly users can select counting from the last day of month to the last day - 27 days of month.

Dates

Admission Times can be indicated by specific dates like this:

...