.. include:: /Includes.rst.txt .. _handbook-administration-approval-rules: =========================== Approval rules and settings =========================== Approval rules decide who approves a request, and whether it needs approval at all. Without a matching rule, the requester's manager approves. Open :guilabel:`Administration > Approval rules`. HR and administrators can change the rules. .. figure:: /Images/Handbook/approval-rules.png :alt: The list of approval rules :class: with-shadow The approval rules. Create a rule ============= #. Select :guilabel:`New approval rule`, or :guilabel:`Edit` on a row. #. Enter a :guilabel:`Name` and choose the :guilabel:`Request`, such as :guilabel:`Leave request` or :guilabel:`Overtime`. #. Under :guilabel:`Conditions`, narrow the rule down if you want: :guilabel:`Departments`, :guilabel:`Employment types`, or the size of the request, such as more than 5 days. A rule without conditions applies to every request of its type. #. Under :guilabel:`Outcome`, add one row per approval step, in order. Choose who approves each step in :guilabel:`Approved by`: - :guilabel:`The manager` of the requester - :guilabel:`A higher manager (level)`: level 1 is the manager's manager, level 2 the one above, and so on - :guilabel:`The head of the department` - :guilabel:`A specific employee` - :guilabel:`Role holder`: anyone with the HR or admin role The last step must be a certain person or a role holder. #. Save. To approve matching requests automatically, switch off :guilabel:`Needs approval` and enter a :guilabel:`Reason when no approval is needed`. This is not possible for a leave allocation. Check who would approve ======================= Select :guilabel:`Preview approvers`, choose the employee in :guilabel:`Requested by` and the :guilabel:`Request`. You see the rule that applies and the people of each step. Nothing is created. .. figure:: /Images/Handbook/approval-preview.png :alt: The preview of the approvers of a request :class: with-shadow The preview of an approval chain. .. _handbook-administration-approval-settings: Reminders, escalation and substitutes ===================================== Three settings apply to all rules. Open :guilabel:`Administration > Approval settings`, change them and select :guilabel:`Save`. HR and administrators can change them. .. figure:: /Images/Handbook/approval-settings.png :alt: The approval settings :class: with-shadow The approval settings. :guilabel:`Remind after (working days)` After this many working days without a decision, the approvers are reminded. :guilabel:`Escalate after (working days, empty for never)` After this many working days, the approver's manager (or HR) can decide as well. Leave it empty to never escalate. :guilabel:`Substitutes take over while the approver is absent` When on, an approver's substitute also decides while the approver is on leave. A substitute for a fixed period (see :ref:`handbook-everyone-substitutes`) always decides. Good to know ============ - Steps are done one after another; one approver per step is enough. - Nobody approves their own request: that step is skipped. - If a step finds nobody, for example because the requester has no manager, HR decides. - If several rules match, the one with the most conditions wins, then the one with the higher :guilabel:`Priority`. - Changed, disabled or deleted rules only affect requests submitted afterwards.