BPMN Studio logoBPMN Studiov2.0 Try it free
ContentsOverview

Leave request approval BPMN diagram example

A leave request approval process in BPMN has three parts: an automatic check of the leave balance, a manager's decision, and an update of the leave calendar. The example below adds what real leave workflows need and simple ones leave out: the request never reaches the manager when the balance is too low, and a reminder goes out if the manager has not answered after 3 days.

Leave request approval BPMN 2.0 diagram: balance check, manager review with a reminder timer, HR update
Leave request approval in BPMN 2.0: the system checks the balance before the manager sees the request. Generated with BPMN Studio. How it was made: BPMN Studio generated it from the description below, then it was reviewed and corrected by hand and laid out by the app's own layout engine.

Use this diagram. Open it in the BPMN Studio editor to change it by hand or by chat, or download the BPMN 2.0 XML, the exact source behind the diagram above, for Camunda Modeler, Flowable, Activiti, bpmn.io or any BPMN 2.0 tool.

Open and edit this diagram↓ Download Leave request approval .bpmn

The file is free to download with no sign-up and no attribution required. Saving a diagram in the editor needs a free account.

The process in plain English

An employee submits a leave request. The HR system checks the leave balance. If the balance is too low, the employee is told and the request ends. Otherwise the manager reviews the request; if the manager has not answered after 3 days, a reminder is sent and the review stays open. An approved request is recorded in the leave calendar and the employee gets a confirmation. A rejected request goes back to the employee with the reason.

or open a blank editor

Opens the editor with your text in the chat. Generating needs a free account, no card.

Steps and their BPMN elements

The middle column names each BPMN element; the BPMN symbols and shapes reference shows what each one looks like.

Step BPMN element Lane
Leave requested Start event Employee
Check leave balance Business rule task HR system
Enough balance? Exclusive gateway HR system
Notify employee of low balance Send task HR system
Request declined End event HR system
Review leave request User task Manager
3 days without an answer Non-interrupting timer boundary event Manager
Remind manager Send task HR system
Reminder sent End event HR system
Approved? Exclusive gateway Manager
Record leave in calendar Service task HR system
Send confirmation Send task HR system
Leave approved End event HR system
Send rejection with reason Send task HR system
Leave rejected End event HR system

Key modelling points

  • The balance check comes before the manager. A manager should not spend time on a request the system would refuse anyway. The check is a business rule task because a rule decides it (days requested against days left), and the gateway after it only routes on the answer.
  • The reminder is a non-interrupting timer. The dashed border on the boundary event means "Review leave request" carries on while the reminder goes out. With a solid border the timer would cancel the review, which is right for "auto-reject after 10 days" but wrong for a reminder.
  • The reminder path ends in its own end event. It is a side path: it must not flow back into the main path, or the process would continue without the manager's decision.
  • Three end events, three outcomes. "Request declined" (no balance), "Leave rejected" (the manager said no) and "Leave approved" are different results, and HR reports on them separately.

Common variations

  • Two approvers for long absences: add an exclusive gateway on the number of days after the manager's approval, as the invoice approval example does with amounts.
  • Sick leave: it is reported, not approved. Replace the review with a "Register sick leave" task and keep the calendar update.
  • Cancelling an approved request: a message boundary event on a waiting step, or a separate small process that starts with "Cancellation received".

Generate your own leave request diagram

Every company's leave rules differ: carry-over days, half days, a second approver, a cover person. Describe your rules in the BPMN Studio editor and get an editable BPMN 2.0 diagram. More BPMN examples · events explained.

Frequently asked questions

How do I model a reminder to an approver in BPMN?

Put a non-interrupting timer boundary event (a clock in a dashed double circle) on the approval task and lead it to a send task such as "Remind manager". Because it is non-interrupting, the approval task stays open while the reminder goes out. An interrupting timer (solid border) would cancel the approval instead.

Should the leave balance check be a gateway or a task?

Both, in that order. The check is work, so it is a task (a business rule task or service task when the HR system does it). The exclusive gateway after it only routes on the result. A gateway never does the checking itself.