A defined workflow may depend on a role that is not availbe - for example, no Team manager for a specific team or no Custom field manager for a specific custom field value.
In such cases, you can rely on the default workflow fallback mechanisms Payhawk provides or define your custom ones.
System fallback mechanisms
If an approver or a category, team, or custom filed value has been added, removed, or updated, Payhawk will apply the below fallback mechanisms for expense requests by default.
Workflow update | System fallback |
Specific user who is approver is offboarded | Regardless of the specific workflow step, the expense requests pending on the approver will be returned and the approval step will be set to admin. |
A Team manager is added | The expense request will also be sent out to the new Team manager. The old request won't be removed. |
A Team field value is changed | If the expense request is pending on the old Team manager, it'll also be sent to the new Team manager. |
A Custom field manager is added | The expense request will also be sent out to the new Custom field manager. The old request won't be removed. |
A Custom field value is changed. | If the expense request is pending on the old Custom Field manager, it'll also be sent to the new Custom Field. |
If Payhawk cannot identify an approver for a defined workflow, the expense request will be forwarded to all Payhawk administrators.
Customizing the fallback behavior
The default mechanisms of the workflow fallbacks can be customized and set to the individual needs of your company.
To define custom fallback behavior:
In the Payhawk web portal, go to the Settings > Workflows > Advanced tab.
Click on Edit fallbacks.
From the drop-down menus, define the desired fallback behavior.
Click on Save changes.
Payhawk will not be able to execute the fallback mechanisms and will send an approval request according to the defined custom role if the roles fall back on each other (cyclical fallback behavior).
Viewing the currently defined workflow fallbacks
You can view the currently defined workflow fallbacks under each step in its edit mode.