Skip to content
ModuleM4 — Run the tenant
After this session you canSet up the working hours and holidays that time limits count against, and work out and explain any deadline.
TimeFacilitated: 29 min · On your own: 29 min
Before you startM3-S3. ACP M5-S1, where a request moved through workflow steps.
Go deeperWorking hours & holidays · For builders: Workflows: time limits and escalation

◆ Orientation (1 min) — “Two days” that are not two days

Section titled “◆ Orientation (1 min) — “Two days” that are not two days”

Northwind’s finance team promises to handle every expense claim within two working days. If the clock counted every hour, a claim sent on Thursday afternoon would be late on Saturday, when nobody works. Osos counts only working time, and you tell it what working time is.

▤ Concept (3 min) — Your schedules, the builder’s time limits

Section titled “▤ Concept (3 min) — Your schedules, the builder’s time limits”

A builder can give a workflow step a time limit, such as “Finance approves within 16 working hours”. To know what a working hour is, the step points at one of your working-hours schedules. When a request reaches the step, Osos works out its deadline by counting only time inside the schedule, and skipping every holiday. If the step is not done by the deadline, it becomes Overdue, and any escalation the builder set up starts.

You set upThe builder decides
The schedules: which days and hours countWhich steps have a time limit, and how long it is
The holidays, and which schedules they apply toWhat happens when a deadline is missed

Both are records under Administration › Applications › Data Entities:

  • A schedule (Working Hours entity): a Name, and one row per working day with Day, Starting Time and Ending Time. A day with no row is a day off; each day appears once.
  • A holiday (Holidays entity): a Name, a Start and End Date (both days included, whole days only), and Related Working Hours: the schedules it applies to. Leave it empty to apply the holiday to every schedule.

Two rules explain most surprises:

  • A deadline is fixed when the request reaches the step. A holiday added today does not move a deadline given yesterday. Changes apply to every step reached from then on.
  • A schedule with no working days gives no deadline at all. Before you archive a schedule, ask your builders whether a step still uses it.

A schedule has no time zone of its own. If deadlines come out a few hours off, ask your operator to check the time zone the platform counts in.

⛏ Lab (10 min) — Northwind’s office hours and Founders’ Day

Section titled “⛏ Lab (10 min) — Northwind’s office hours and Founders’ Day”

Goal. Create the schedule Northwind’s finance steps will count against, and a two-day holiday that applies to it.

  1. Open Administration › Applications › Data Entities, open Working Hours, and select Add Working Hours.
  2. Enter the Name Northwind Office Hours in English and ساعات عمل نورثويند in Arabic.
  3. Under Working Hours, add a row: Day Sunday, Starting Time 08:00, Ending Time 16:00.
  4. Add the same row for Monday.
  5. Add it for Tuesday.
  6. Add it for Wednesday.
  7. Add it for Thursday. Leave Friday and Saturday out: they are days off. Select Save.
  8. Open the Holidays entity and select Add Entry.
  9. Enter the Name Northwind Founders’ Day. In Start and End Date, choose next month’s second Sunday and the Monday after it.
  10. In Related Working Hours, choose Northwind Office Hours. Select Save.

The Working Hours form for Northwind Office Hours with five rows, Sunday to Thursday, each from 08 to 16 What to notice: one row per working day. Friday and Saturday have no row, so they never count.

Check.

  • Northwind Office Hours has exactly five rows, Sunday to Thursday, 08:00 to 16:00.
  • Northwind Founders’ Day covers a Sunday and the Monday after it.
  • The holiday’s Related Working Hours is Northwind Office Hours, not empty.
  • You can say which steps will use the schedule: the ones a builder points at it.

Pass condition. The schedule and the holiday are saved as described.

If something goes wrong

What you seeWhat to do
“This day is already selected”Each day can appear once per schedule. Change the row’s Day.
You cannot type a dateDates are picked from the calendar.
The holiday should apply to all of Northwind’s schedulesLeave Related Working Hours empty instead.
Model answer

What you built: five working days of eight hours, so a “16 working hours” limit is two full working days, wherever it starts. Founders’ Day is linked to Northwind Office Hours only, so a future schedule for a 24-hour desk would keep counting through it unless you link it there too, or leave the link empty to make it a holiday for every schedule.

◇ Worked scenario (1 min) — Three deadlines

Section titled “◇ Worked scenario (1 min) — Three deadlines”

Use Northwind Office Hours (Sunday to Thursday, 08:00 to 16:00) and Founders’ Day (a Sunday and Monday). Work each one out before you read the answer.

1. An expense claim reaches Finance approval on the Wednesday before Founders’ Day, at 15:00. The builder set a 12-working-hour limit. Wednesday 15:00–16:00 counts 1 hour. Thursday counts 8 (9 so far). Friday and Saturday are not in the schedule. Sunday and Monday are Founders’ Day. On Tuesday the last 3 hours run from 08:00: the deadline is Tuesday at 11:00.

2. Hana says: “We added an extra holiday on Tuesday this morning, but yesterday’s claim still shows Tuesday 11:00 as its deadline.” Correct behaviour: the deadline was fixed when the claim reached the step, yesterday. Claims that reach the step from now on will skip the new holiday.

3. Northwind’s 24-hour dispatch desk works through Founders’ Day, yet its step deadlines skip the holiday. The holiday’s Related Working Hours is empty, so it applies to every schedule. Link it to Northwind Office Hours only.

✓ Practice (5 min) — Check your understanding

Section titled “✓ Practice (5 min) — Check your understanding”
PracticeChoose one answer.

Finance asks you to make the Finance approval step “due within two working days”. What is your part?

  1. Explanation for A

    ✗ Incorrect

    Not this one: which steps have a time limit, and how long, is the builder’s decision. See Your schedules, the builder’s time limits.

  2. Explanation for B

    ✓ Correct

    Correct: you own the schedules and holidays; the builder points the step at one. See Your schedules, the builder’s time limits.

  3. Explanation for C

    ✗ Incorrect

    Not this one: a holiday removes days from the count; it does not set a limit. See Your schedules, the builder’s time limits.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose one answer.

With Northwind Office Hours, a claim reaches a step with an 8-working-hour limit on Thursday at 12:00, in a week with no holidays. When is it due?

  1. Explanation for A

    ✗ Incorrect

    Not this one: only time inside the schedule counts, and Thursday ends at 16:00. See Your schedules, the builder’s time limits.

  2. Explanation for B

    ✗ Incorrect

    Not this one: Friday has no row in the schedule, so it counts nothing. See the Lab.

  3. Explanation for C

    ✓ Correct

    Correct: Thursday counts 4 hours, Friday and Saturday none, and Sunday the last 4 from 08:00. See Your schedules, the builder’s time limits.

Check your answer

The correct answer is C. Open the explanation under each option to see why.

PracticeChoose one answer.

A builder says a monitored step never turns Overdue, however late it is. What do you check on your side?

  1. Explanation for A

    ✗ Incorrect

    Not this one: an owner’s account does not stop the clock. See Your schedules, the builder’s time limits.

  2. Explanation for B

    ✓ Correct

    Correct: a schedule with no working time can never produce a deadline. See Your schedules, the builder’s time limits.

  3. Explanation for C

    ✗ Incorrect

    Not this one: a holiday only removes days; the step would still become overdue later. See Your schedules, the builder’s time limits.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeDecide whether the statement is true or false.

True or false: adding a holiday moves the deadlines of requests that are already waiting at a monitored step.

  1. Explanation for A

    ✗ Incorrect

    Not this one: a deadline is fixed when the request reaches the step. See Your schedules, the builder’s time limits.

  2. Explanation for B

    ✓ Correct

    Correct: only steps reached after the change count against the new holiday. See Your schedules, the builder’s time limits.

Check your answer

The correct answer is B (False). Open the explanation under each option to see why.

You can set up working-hours schedules and holidays, work out a deadline from them, and explain why a deadline did or did not move. Builders now have a schedule to point Northwind’s steps at.

Next. When a deadline is missed, or a claim is approved, someone usually gets a message. In M4-S2 you manage the templates those messages use.