Templates

Example: a leave request in 15 minutes

This chapter builds a template from start to finish: a leave request with approval by the manager. Each section shows an action you repeat in other templates.

On this page

Creating the leave request

You need: the right to manage templates, and for the Bricksta template also the admin role, because it is an absence.

  1. 1
    Open Templates and click Create template at the top right.
  2. 2
    Choose From Bricksta templates and open the leave request.
  3. 3
    Review steps, fields and settings and click Adopt template.

Or: Choose Start blank and build the fields and steps of the next sections yourself.

The Create template dialog with the cards Start blank, Import a BPMN file, Describe with AI, With the assistant and From Bricksta templates
  1. 1From Bricksta templates: the leave request, ready-made
  2. 2Start blank: you build every step yourself
Two cards lead to the leave request: the ready-made Bricksta template or the blank template.

Result: you have a copy of the leave request, published right away, with the absence switched on. The roles are created but not yet filled.

Setting the period and the substitute

The request needs these fields in one task, which you create in the task's form. How that works is under Fields and forms in tasks.

  • From and To: two date fields for the period.
  • A person field Member with exactly one person: the person who is away.
  • Substitute: another person field in the same request. It is optional.
  • Optionally a yes/no field for a half day.

For the request to appear in the team calendar, you turn on Template is an absence in the Settings under General. There you also decide from when the leave counts. For a leave request, from the approval fits. More under Deadlines and time in templates.

The Absence and stand-in form with the fields Stand-in, From and Until, the notice “Nobody can confirm.” above them and the list of open tasks to hand over below
  1. 1Stand-in: who takes over in this time
  2. 2From: first day
  3. 3To: last day
In the form you choose the stand-in and the period. If nobody is set up to confirm, the notice at the top says so openly.

If a request names a substitute, Bricksta enters it with the approval for exactly the requested period. It applies at once. Requests approved earlier get no substitute added afterwards.

Setting up approval by the manager

You need: a task with which the person submits the request, and the managers under Organization › Members.

  1. 1
    Open the task that should be reviewed.
  2. 2
    Turn on Approval required (4-eyes).
    The “Approval required (4-eyes)” switch with approver selection and “When changes are requested” in the template editor
  3. 3
    Under Approver, choose Manager (of the submitter).
  4. 4
    Under When changes are requested, choose End the case.

Result: every request waits for the manager of the person named in the request. The person never approves their own leave.

The path of an approval from submission to decision is under Approval.

What happens on a rejection?

If the manager rejects, they choose Request changes … and give a reason. The requester sees it as a red band above the form. What happens next is set by When changes are requested.

End the caseOpen tasks lapse, finished ones stay. The case carries an outcome such as Rejected.
Back to a stepThe request opens again, prefilled. The person changes the period and submits again.
NoneThe open task goes back for rework. Finished tasks stay closed.

For a leave request, End the case usually fits: whoever wants to request leave again starts a new request. All consequences are under Approval.

Filling an internal role

The Bricksta template creates its roles with names but without people. A role nobody holds reaches nobody. Fill it under Organization › Roles: choose the role and add people under Org-wide members with + add ….

Under Preset for new cases you set who holds a role in new cases by default. Otherwise the person who starts the case fills it in the New case window.

Deciding who may submit the request

By default only people with the right to start cases can start one. For a leave request, every member should request for themselves. An org admin turns that on in the Settings with Anyone may request it for themselves.

The switch works only if the template is an absence, and only after publishing.

The person is then always the requester and cannot be changed in the request. Whoever may “Manage personnel data” can also request for others. Guests and AI agents cannot request.

A request starts from the team calendar or with Start case on My work. The window shows the fields of the request task, and Submit request sends it. Requested days show dashed in the team calendar.

The team calendar in the month view with bars per person
  1. 1Bars: absent, never with a reason
  2. 2requested: does not count yet
The team calendar shows requested leave dashed and approved leave as a bar.

Testing and publishing

You need: a template in draft, such as the one you built yourself. The adopted Bricksta template is already published.

  1. 1
    Click Preview in the task's form and fill in the request as a trial. None of it is saved.
  2. 2
    Check the template with the check button in the header and fix red errors.
  3. 3
    Click Publish at the top.
    The template editor with “Publish” at the top right and the check button next to it
  4. 4
    Read the changes and click Confirm publishing.

Result: members can request leave, and the manager decides. If you want to test alone first, Visibility in the Settings limits who may see and start the template.

If something doesn't work

The approval reaches nobodyNo manager is entered for the person.Enter the manager under Organization › Members.
The check says the leave never countsThe leave should count from the approval, but the request has no approval.Turn on the approval on the task.
Members cannot request for themselvesAnyone may request it for themselves is off, or the template is not an absence.Turn on both and publish the template.
The substitute is missing after the approvalThe person is no longer active, a guest, or the period is already taken.Enter the substitute by hand, see Substitutes.

What's next?