{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":49571,"path":"servicenow-platform/workflow-activities/wf-approvals-n-rollbacks.md","title":"Using workflow approval activities and rolling back workflows","bundle":null,"doc_type":null,"release":"australia","body":"\n# Using workflow approval activities and rolling back workflows\n\nWhen you work with approvals, you need to understand how approval activities interact with approval engines, how to correct a skipped approval workflow activity, and how rollbacks work.\n\n**Related topics**  \n\n\n[Rollback To workflow activity](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/r_RollbackTo.md)\n\n## Approval workflow activities and approval engines\n\nApprovals can be managed by approval activities or approval engines, but not both. Approval activities can be used if approval engines are not turned on for the table associated with the workflow.\n\nApprovals can be managed by approval activities or approval engines, but not both. Trying to use both can cause a range of issues. Approval activites are not available \\(greyed out\\) in the palette if approval engines are used on the specified table. If you hover over a greyed out approval activity in the palette, a comment with more information is provided. For more information about approvals and approval engines, see [Classic approvals](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/approvals/r_Approvals.md).\n\n\\[Omitted image \"ApprovalActivitiesEngines.png\"\\] Alt text: Approval activities are greyed out in the palette if approval engines are used on the associated table\n\nTo turn approval engines off for the table, navigate to the **System Properties &gt; Approval Engines** and change the setting for the table to **Turn engines off.**\n\n\\[Omitted image \"WFEnginesApproval.png\"\\] Alt text: To use approval activities, turn off approval engines for the table\n\n**Related topics**  \n\n\n[Approval and rollback workflow activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/workflow-activities/c_ApprovalAndRollbackActivities.md)\n\n[Classic approvals](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/approvals/r_Approvals.md)\n\n## Correct a skipped workflow approval activity\n\nWhile a workflow is in an active context, an approval activity can skip to the next activity.\n\n### Before you begin\n\nRole required: admin\n\n### About this task\n\nAn approval activity might skip for the following reasons:\n\n-   The approval user or group is missing or invalid \\(for example, sys\\_id\\).\n-   The approval user or group became inactive after the approval record was created.\n-   The activity is a [Dot-walking to data in related tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/c_DotWalking.md) field, such as `current.opened_by.department.manager`, and it has a missing or invalid approval user or group.\n-   The business rule on the table that is associated with the workflow is invalid.\n\nTo correct a missed approval activity:\n\n### Procedure\n\n1.  Navigate to **All** &gt; **Workflow** &gt; **Live Workflows** &gt; **All Contexts**.\n\n2.  Click the date and time in the **Started** column for the workflow that is incorrectly processing approval activities.\n\n3.  In **Related Links**, click **Show Workflow**.\n\n4.  Review the portion of the workflow that executed, and then do one or more of the following:\n\n    -   Verify that after approval, the workflow progressed to the next activity. If a workflow failed to progress, check the business rules. For more information, see [Debugging business rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/api-reference/scripts/r_DebuggingBusinessRules.md).\n    -   Point to each processed approval activity to find activities where the **State** is **Finished** and **Result** is **Skipped**.\n5.  Navigate to **Workflow** &gt; **Workflow Editor** and open the workflow.\n\n6.  Double-click the skipped approval activity.\n\n7.  Click **Users** or **Groups**.\n\n8.  Assign an active user or group for the approval activity. For more information, see [Workflow error handling](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/legacy-workflow/c_WorkflowErrorHandling.md).\n\n\n"}}