Script examples
Explore scenarios to gain insights into how to customize the approval policies with practical situations, and adapt them to fit the distinctive needs and goals of your organization.
Overview
On this page, you will discover how to tailor your approval processes to your specific needs by looking into the practical side of customizing your approval policies.
Customization allows you to adapt the rules to fit your unique requirements, making your application’s decision-making more efficient.
Approval policies are designed using the MoniteScript. The conditions mentioned on this page must be inserted into the script
field.
Conditional invoice approval
The approval policy below states that the approval of either one user OR two roles is required for an invoice to be approved:
Mark invoice as paid
The approval policy below states that once the invoice is approved by two users AND two roles, it is marked as paid with the comment Marked from approval.
:
Approval chains
The approval policy below is a structured sequence of approvals that occur in a particular order and depend on the previous condition: