{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1567,"path":"application-development/app-engine-studio/cost-approval-template.md","title":"Expense Pre-Approval template","bundle":null,"doc_type":null,"release":"australia","body":"\n# Expense Pre-Approval template\n\nBuild an application in App Engine Studio \\(AES\\) using the Expense Pre-Approval template to create, track, and manage planned expenses in your organization.\n\nTo use the Expense Pre-Approval template, install this application from the ServiceNow Store.\n\nEmployees 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.\n\nTo 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/decision-designer-overview.md).\n\nFor more information on creating an application using a template, see [Create your app using an application template](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/app-engine-studio/use-app-template.md).\n\n**Parent Topic:**[Available templates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/app-engine-studio/template-library.md)\n\n## Expense Pre-Approval template contents\n\nThe following tables, experiences, automated workflows, and roles are included in the Expense Pre-Approval template for App Engine Studio \\(AES\\).\n\n### Tables in the Expense Pre-Approval app template\n\n<table id=\"table_wdl_14z_xrb\"><thead><tr><th>\n\nTable label \\[name\\]\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nBudget definition\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;\\_budget\\_definition\\]\n\n</td><td>\n\nThe description of all budgets.\n\n</td></tr><tr><td>\n\nExpense request\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;expense\\_request\\]\n\n</td><td>\n\nThe expense requests submitted by employees.\n\n</td></tr><tr><td>\n\nExpense line item\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;\\_expense\\_line\\_item\\]\n\n</td><td>\n\nEach expense line item in an expense request.\n\n</td></tr></tbody>\n</table>### Experiences in the Expense Pre-Approval app template\n\n<table id=\"table_mph_l4z_xrb\"><thead><tr><th>\n\nExperience\n\n</th><th>\n\nExperience type\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nExpense request \\| Default view\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to create a new expense request.\n\n</td></tr><tr><td>\n\nBudget definition \\| Default view\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to define budgets for a specified time frame.\n\n</td></tr><tr><td>\n\nBudget Reviewer\n\n</td><td>\n\nMobile experience\n\n</td><td>\n\nWay to define what the mobile experience for budget reviewers looks like.\n\n</td></tr><tr><td>\n\nExpense request \\| Workspace\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to create a new expense request.\n\n</td></tr><tr><td>\n\nExpense request \\| Cost Approval\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to create a new expense request from an admin.\n\n</td></tr><tr><td>\n\nManager\n\n</td><td>\n\nMobile experience\n\n</td><td>\n\nWay to define what the mobile experience for managers looks like.\n\n</td></tr><tr><td>\n\nBudget definition \\| Workspace\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm in the workspace view to define budgets for a specified time frame.\n\n</td></tr><tr><td>\n\n*App name* - Budget workspace\n\n</td><td>\n\nWorkspace\n\n</td><td>\n\nWay to configure a high-level view of all budget requests.\n\n</td></tr><tr><td>\n\nExpense request\n\n</td><td>\n\nRecord producer\n\n</td><td>\n\nWay for employees to submit an expense request.\n\n</td></tr><tr><td>\n\nExpense line item \\| Default view\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to add an expense line item to an expense request.\n\n</td></tr><tr><td>\n\nExpense Request SLA \\| Default view\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm to create an expense request based on a breach of service level agreement \\(SLA\\).\n\n</td></tr><tr><td>\n\nBudget definition \\| Cost Approval\n\n</td><td>\n\nForm\n\n</td><td>\n\nForm in the cost approval view to define budgets for a specified time frame.\n\n</td></tr><tr><td>\n\n*App name* - Manager workspace\n\n</td><td>\n\nWorkspace\n\n</td><td>\n\nWorkspace where managers can approve or reject the expense requests assigned to them.\n\n</td></tr><tr><td>\n\nCost Approval Mobile App\n\n</td><td>\n\nMobile experience\n\n</td><td>\n\niOS or Android app used for the following actions:-   Approving or rejecting expense requests.\n-   Viewing dashboards that display historical data to compare budget and expense requests.\n-   Creating or modifying budgets by budget reviewers.\n\n</td></tr><tr><td>\n\nCost Approval Workspace - Budget Reviewer\n\n</td><td>\n\nWorkspace\n\n</td><td>\n\nBudget reviewers can use the workspace for the following actions:-   Approving or rejecting expense requests.\n-   Creating or modifying budgets.\n-   Viewing the data on the budget funds allocated, spent, available, and allocated for the future.\n-   Viewing dashboards that display historical data to compare the budget and expense requests.\n\n</td></tr></tbody>\n</table>### Automated workflows in the Expense Pre-Approval app template\n\n<table id=\"table_knw_4qz_xrb\"><thead><tr><th>\n\nWorkflow name\n\n</th><th>\n\nWorkflow type\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nExpense request approved - reviewer\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that an expense request has been approved.\n\n</td></tr><tr><td>\n\nExpense Request Assigned\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that an expense request has been assigned.\n\n</td></tr><tr><td>\n\nExpense request - SLA breached\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that a service level agreement \\(SLA\\) has been breached.\n\n</td></tr><tr><td>\n\nBudget Creation\n\n</td><td>\n\nFlow - record\n\n</td><td>\n\nExecuted 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.\n\n</td></tr><tr><td>\n\nExpense request - SLA- close to due\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that a service level agreement \\(SLA\\) is close to due.\n\n</td></tr><tr><td>\n\nExpense Request Reassigned\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that their request was reassigned.\n\n</td></tr><tr><td>\n\nExpense request comment added - Assigned\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users about a comment that has been added to their request.\n\n</td></tr><tr><td>\n\nNew Expense Request or manager approval\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users about a new expense request.\n\n</td></tr><tr><td>\n\nExpense request reject\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that their request was rejected.\n\n</td></tr><tr><td>\n\nBudget state update\n\n</td><td>\n\nFlow\n\n</td><td>\n\nUpdates each budget record by priority.\n\n</td></tr><tr><td>\n\nExpense Request Inserted - Requestor\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that their request was successfully created.\n\n</td></tr><tr><td>\n\nExpense Request Approved\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that their request was approved.\n\n</td></tr><tr><td>\n\nExpense request work note added\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users a work note was added to their request.\n\n</td></tr><tr><td>\n\nNotify Team - Work note added\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies a team that a work note was added to a request.\n\n</td></tr><tr><td>\n\nExpense request comment added - Employee\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users a comment was added to a request.\n\n</td></tr><tr><td>\n\nExpense Request Rejected\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that their request was rejected.\n\n</td></tr><tr><td>\n\nBudget Updation\n\n</td><td>\n\nFlow - record\n\n</td><td>\n\nExecuted when a budget reviewer modifies the budget. After a budget is modified, this flow updates the **Budget** field in the corresponding expense requests.\n\n</td></tr><tr><td>\n\nNotify Requestor - Comments added\n\n</td><td>\n\nEmail\n\n</td><td>\n\nNotifies users that a comment was added to a request.\n\n</td></tr><tr><td>\n\nSLA Notification - Expense Request - warning\n\n</td><td>\n\nFlow - record\n\n</td><td>\n\nWarns admins about a potential service level agreement \\(SLA\\) issue.\n\n</td></tr><tr><td>\n\nBudget Approval Process\n\n</td><td>\n\nFlow - record\n\n</td><td>\n\nExecuted to obtain expense approvals in the following scenarios:-   When an employee submits an expense request for the manager's approval.\n-   Upon the manager's approval, the expense request is sent to the budget reviewer for the final level of approval.\n\n</td></tr><tr><td>\n\nBudget Calculations\n\n</td><td>\n\nFlow\n\n</td><td>\n\nRecalculates the budget spent and the available budget when a budget reviewer performs any of the following actions:-   Creates a budget\n-   Modifies an existing budget\n-   Approves an expense request\n\n</td></tr></tbody>\n</table>### Roles in the Expense Pre-Approval app template\n\n<table id=\"table_gkr_zqz_xrb\"><thead><tr><th>\n\nRole label \\[name\\]\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nBudget Reviewer\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;.Budget reviewer\\]\n\n</td><td>\n\nBudget reviewers can create or modify budgets and provide the final level of approval on expense requests.\n\n</td></tr><tr><td>\n\nManager\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;.Manager\\]\n\n</td><td>\n\nManagers can submit, view, and approve or reject expense requests at the first level.\n\n</td></tr><tr><td>\n\nEmployee\\[x\\_&lt;company-code&gt;\\_&lt;expense\\_approval\\_app&gt;.Employee\\]\n\n</td><td>\n\nEmployees can submit and track expense requests.\n\n</td></tr><tr><td>\n\nAdmin\n\n</td><td>\n\nThe System Administrator role. This role has access to all system features, functions, and data, regardless of security constraints.\n\n</td></tr></tbody>\n</table>"}}