Versions Compared

Key

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

...

  • Jobs in a workflow can be limited to start execution only in specific periods only.
    • A job can be configured to start not earlier than e.g. not earlier than 10pm.  If 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 according to the day of week, the day of month or for 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 for 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 on which the order is scheduled and:
    • the order arrives before begin the beginning 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 relevant 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 at the job node in the workflow.
  • If an Admission Time is configured that overlaps on to the next day then this applies will apply only to orders only that have been scheduled for the day on which the Admission Time period starts. Orders arriving at a later day to which an Admission Time of the previous day overlaps are not subject to this configuration. Instead, orders consider the configuration of Admission Times for the date for which they are scheduled.
  • Orders arriving at a later day than an Admission Time of the previous day but which are overlapped by the Admission Time are not subject to this configuration. Instead, these orders are executed according to the configuration of Admission Times for the date for which they are scheduled.
  •  
    • Display feature availability
      StartingFromRelease2.5.0

...

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 Note that for the input of timeslots, the time is assumed in to be 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.

...

  • an order arriving with the job node at 3.30am will not make the job start for this period as it arrives past the duration of 3 hours.
  • the earlier time is used, i.e. if an order is scheduled for 2.30am then the job will start once for the first occurrence of 2.30am on that day.
  • cyclic orders are executed during the first occurrence of the period 2am to 3am.
  • cyclic workflows are executed during both occurrences of the period 2am to 3am.

The behavior to calculate when calculating Admission Times during daylight saving change changes from a duration is what many users want. However, if users are not happy with this behavior then please vote for the option to additionally specify fixed periods during Daylight Saving Change:

...