Overview
Whenever a new approval policy is created, or a payable is created or updated, Monite checks if there is a match between the approval policy and the payable. If a payable matches some approval policies’ trigger conditions, a new instance of the approval policy is created. This instance of approval policy applied to a payable is called a process. Every process has approval steps, which are lists of all approval requests that will be created for a given process.List all processes
To list all processes applied to a specific approval policy, callGET /approval_policies/{approval_policy_id}/processes:
You can also check which approval policy applies to which payable in the responses from
GET /payables and GET /payables/{payable_id}. The approval policy ID is stored in the approval_policy_id field of the Payable object.Steps
Approval steps, or just steps, contain the current state of all approval requests created for a given approval process and sent to the users. To check all the steps of a specific process, callGET /approval_policies/{approval_policy_id}/processes/{process_id}/steps:
Retrieve a process
To get information about a specific process, callGET /approval_policies/{approval_policy_id}/processes/{process_id}.
Cancel a process
To cancel a specific process, callPOST /approval_policies/{approval_policy_id}/processes/{process_id}/cancel.