Expense Pre-Approval template
Build an application in App Engine Studio (AES) using the Expense Pre-Approval template to create, track, and manage planned expenses in your organization.
To use the Expense Pre-Approval template, install this application from the ServiceNow Store.
Employees can easily submit their planned expenses for multiple levels of approval using the Expense Pre-Approval application. Managers can then review every submitted request. Approved requests are assigned to the budget review group, which can approve or reject the request. The employee receives a notification with the final status of the request.
To ensure compliance and improved financial planning, admins can customize the existing flow and levels of approval using decision tables. For more information, see Exploring Decision Tables.
For more information on creating an application using a template, see Create your app using an application template.
Expense Pre-Approval template contents
The following tables, experiences, automated workflows, and roles are included in the Expense Pre-Approval template for App Engine Studio (AES).
Tables in the Expense Pre-Approval app template
| Table label [name] | Description |
|---|---|
| Budget definition [x_<company-code>_<expense_approval_app>_budget_definition] |
The description of all budgets. |
| Expense request [x_<company-code>_<expense_approval_app>expense_request] |
The expense requests submitted by employees. |
| Expense line item [x_<company-code>_<expense_approval_app>_expense_line_item] |
Each expense line item in an expense request. |
Experiences in the Expense Pre-Approval app template
| Experience | Experience type | Description |
|---|---|---|
| Expense request | Default view | Form | Form to create a new expense request. |
| Budget definition | Default view | Form | Form to define budgets for a specified time frame. |
| Budget Reviewer | Mobile experience | Way to define what the mobile experience for budget reviewers looks like. |
| Expense request | Workspace | Form | Form to create a new expense request. |
| Expense request | Cost Approval | Form | Form to create a new expense request from an admin. |
| Manager | Mobile experience | Way to define what the mobile experience for managers looks like. |
| Budget definition | Workspace | Form | Form in the workspace view to define budgets for a specified time frame. |
| App name - Budget workspace | Workspace | Way to configure a high-level view of all budget requests. |
| Expense request | Record producer | Way for employees to submit an expense request. |
| Expense line item | Default view | Form | Form to add an expense line item to an expense request. |
| Expense Request SLA | Default view | Form | Form to create an expense request based on a breach of service level agreement (SLA). |
| Budget definition | Cost Approval | Form | Form in the cost approval view to define budgets for a specified time frame. |
| App name - Manager workspace | Workspace | Workspace where managers can approve or reject the expense requests assigned to them. |
| Cost Approval Mobile App | Mobile experience | iOS or Android app used for the following actions:
|
| Cost Approval Workspace - Budget Reviewer | Workspace | Budget reviewers can use the workspace for the following actions:
|
Automated workflows in the Expense Pre-Approval app template
| Workflow name | Workflow type | Description |
|---|---|---|
| Expense request approved - reviewer | Notifies users that an expense request has been approved. | |
| Expense Request Assigned | Notifies users that an expense request has been assigned. | |
| Expense request - SLA breached | Notifies users that a service level agreement (SLA) has been breached. | |
| Budget Creation | Flow - record | Executed when a budget reviewer creates a budget. It checks the start date of an expense request and associates the request to a budget with corresponding time frame. |
| Expense request - SLA- close to due | Notifies users that a service level agreement (SLA) is close to due. | |
| Expense Request Reassigned | Notifies users that their request was reassigned. | |
| Expense request comment added - Assigned | Notifies users about a comment that has been added to their request. | |
| New Expense Request or manager approval | Notifies users about a new expense request. | |
| Expense request reject | Notifies users that their request was rejected. | |
| Budget state update | Flow | Updates each budget record by priority. |
| Expense Request Inserted - Requestor | Notifies users that their request was successfully created. | |
| Expense Request Approved | Notifies users that their request was approved. | |
| Expense request work note added | Notifies users a work note was added to their request. | |
| Notify Team - Work note added | Notifies a team that a work note was added to a request. | |
| Expense request comment added - Employee | Notifies users a comment was added to a request. | |
| Expense Request Rejected | Notifies users that their request was rejected. | |
| Budget Updation | Flow - record | Executed when a budget reviewer modifies the budget. After a budget is modified, this flow updates the Budget field in the corresponding expense requests. |
| Notify Requestor - Comments added | Notifies users that a comment was added to a request. | |
| SLA Notification - Expense Request - warning | Flow - record | Warns admins about a potential service level agreement (SLA) issue. |
| Budget Approval Process | Flow - record | Executed to obtain expense approvals in the following scenarios:
|
| Budget Calculations | Flow | Recalculates the budget spent and the available budget when a budget reviewer performs any of the following actions:
|
Roles in the Expense Pre-Approval app template
| Role label [name] | Description |
|---|---|
| Budget Reviewer [x_<company-code>_<expense_approval_app>.Budget reviewer] |
Budget reviewers can create or modify budgets and provide the final level of approval on expense requests. |
| Manager [x_<company-code>_<expense_approval_app>.Manager] |
Managers can submit, view, and approve or reject expense requests at the first level. |
| Employee [x_<company-code>_<expense_approval_app>.Employee] |
Employees can submit and track expense requests. |
| Admin | The System Administrator role. This role has access to all system features, functions, and data, regardless of security constraints. |