Office Working Hour Deadline

The Office Working Hour Deadline plugin is essential to working environments where SLAs and deadlines are implemented.

This plugin intercepts and overrides how Joget calculates due dates for SLAs and deadlines imposed on a process. It takes the following into account during calculations:

  • Holidays
  • Working Hours
  • Working Days

Configure office working hours

Go to Properties & Export > Set Plugin Default Properties > Office Working Hour Deadline to set the plugin default properties, such as:

  • Holidays: Define holidays in this grid in DD-MM-YYYY format.
  • Weekends: Check the applicable weekend days.
  • Working Hours (From, 24-hour format): Define your hours in a 24-hour format without a colon sign.
  • Working Hours (To, 24-hour format): Define your hours in a 24-hour format without a colon sign.


Example Deadline/SLA Due Calculation

As shown in the previous section, the working hours are from 9 AM to 6 PM every weekday.

A process instance is started at 1:59 PM on 04 July. According to the process design, the process has an SLA of 15.0 hours.

With the activated Office Working Hour Deadline plugin, the due date is not simply 1:59 PM + 15 hours. Instead, it is calculated as 1:59 PM + 15 working hours. This means it starts from 1:59 PM until 6:00 PM on 04 July.

There are only 9 working hours on 05 July. On 06 July, another working day, an additional 1 hour and 59 minutes are added. Effectively, the due date is 06 July at 10:59 AM.

Related Documentation

Deadlines act as a timer, triggering an exception transition to another activity when a specified duration has elapsed.

Created by Julieth Last modified by Aadrian on Dec 13, 2024