{"id":5990,"date":"2024-07-28T03:02:44","date_gmt":"2024-07-28T03:02:44","guid":{"rendered":"https:\/\/powergi.net\/?p=5990"},"modified":"2025-10-24T17:17:36","modified_gmt":"2025-10-24T17:17:36","slug":"force-an-approval-request-to-complete-and-allow-automation-to-keep-running-stop-waiting-power-automate","status":"publish","type":"post","link":"https:\/\/powergi.net\/es\/blog\/force-an-approval-request-to-complete-and-allow-automation-to-keep-running-stop-waiting-power-automate\/","title":{"rendered":"Force an approval request to complete and allow automation to keep running (stop waiting)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5990\" class=\"elementor elementor-5990\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-63b83ae elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"63b83ae\" data-element_type=\"section\" data-e-type=\"section\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f35648f\" data-id=\"f35648f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fa5d97d elementor-widget elementor-widget-table-of-contents\" data-id=\"fa5d97d\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings='{\"exclude_headings_by_selector\":[],\"no_headings_message\":\"No headings were found on this page.\",\"headings_by_tags\":[\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],\"marker_view\":\"numbers\",\"hierarchical_view\":\"yes\",\"min_height\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_tablet\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]},\"min_height_mobile\":{\"unit\":\"px\",\"size\":\"\",\"sizes\":[]}}' data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tTable of Contents\t\t\t<\/h4>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__fa5d97d\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ee57d0 elementor-widget elementor-widget-text-editor\" data-id=\"9ee57d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">When we create approval requests with the out-of-the-box action in <\/span><a href=\"https:\/\/powergi.net\/\"><b>Power Automate<\/b><\/a><span style=\"font-weight: 400;\">, our flow will usually wait for the approval to happen for next steps to keep running, and this can be an issue if something happens with an approver and we can\u2019t get them to complete the request. So, sometimes it would come very handy to just force this request to just continue with the next steps.\u00a0\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">This blog will <\/span><span style=\"font-weight: 400;\">show how to update all these tables properly to force completion of a request and how to have your flow stop waiting for this approval. Additionally, if you\u2019re looking for expert guidance on automation strategies, leveraging a <a href=\"https:\/\/powergi.net\/microsoft-power-platform-consulting-services\/\"><strong>Microsoft Power Platform consulting service<\/strong><\/a> can help streamline processes effectively. <\/span>Organizations often combine automation with <a href=\"https:\/\/powergi.net\/power-apps-consulting-services\/\"><strong>business applications consulting services<\/strong><\/a> to ensure approvals, workflows, and data governance align with broader digital transformation goals.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8aeb656 elementor-widget elementor-widget-heading\" data-id=\"8aeb656\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Dataverse background<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd301b5 elementor-widget elementor-widget-text-editor\" data-id=\"cd301b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">All logs related to each <a href=\"https:\/\/powergi.net\/blog\/create-long-running-approval-requests-in-power-automate-override-28-days-timeout\/\"><strong>approval request<\/strong><\/a> are stored in Dataverse. Some tables are involved in each request sent and approved (or rejected)\u00a0<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approvals: this table stores each request sent.\u00a0\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Flow Approvals: this table stores each flow \u201capproval connector\u201d action that executes in our <\/span><a href=\"https:\/\/powergi.net\/blog\/how-to-cancel-a-flow-run-if-there-is-another-execution-running\/\"><b>Power Automate workflow<\/b><\/a><span style=\"font-weight: 400;\">. For example, if you have both \u201cCreate approval\u201d and a \u201cWait for an approval\u201d actions, there will be two rows created in this table.\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approval Responses: this table stores each response when approvers approve or reject a request.\u00a0<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">For this use case we will work with a SharePoint table where we want each project created to be sent for approval. <\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d4946b elementor-widget elementor-widget-image\" data-id=\"3d4946b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"610\" height=\"412\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-4-1.png\" class=\"attachment-large size-large wp-image-5994\" alt=\"Add New Item Column\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-4-1.png 610w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-4-1-300x203.png 300w\" sizes=\"(max-width: 610px) 100vw, 610px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-549f591 elementor-widget elementor-widget-heading\" data-id=\"549f591\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 1. Add 2 columns in data table <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-963755f elementor-widget elementor-widget-text-editor\" data-id=\"963755f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">We will need to add two additional columns to track which approval ID each record is related to, and which flow run ID this approval is happening.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">These two columns can be both text type. <\/span><\/p><div id=\"seology-cta-1\">\t\t<div data-elementor-type=\"section\" data-elementor-id=\"7267\" class=\"elementor elementor-7267\" data-elementor-post-type=\"elementor_library\">\n\t\t\t<div class=\"elementor-element elementor-element-7e3f164 e-con-full e-flex e-con e-parent\" data-id=\"7e3f164\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"background_background\":\"classic\",\"jet_parallax_layout_list\":[]}'>\n\t\t<div class=\"elementor-element elementor-element-9078c9f e-con-full e-flex e-con e-child\" data-id=\"9078c9f\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b99949 elementor-widget elementor-widget-heading\" data-id=\"7b99949\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Turn your ideas into digital solutions<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8e61db5 elementor-widget elementor-widget-heading\" data-id=\"8e61db5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Our team guides you step by step to build custom apps in Power Platform.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a578907 e-flex e-con-boxed e-con e-child\" data-id=\"a578907\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e8c827b elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"e8c827b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"#ctc_chat\">\n\t\t\t<i aria-hidden=\"true\" class=\"fab fa-whatsapp\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d834237 elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"d834237\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"https:\/\/powergi.net\/es\/contact\/\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-envelope\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-602d5e2 elementor-widget elementor-widget-image\" data-id=\"602d5e2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"174\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-5-1-1024x174.png\" class=\"attachment-large size-large wp-image-5995\" alt=\"Approval and Flow Run ID\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-5-1-1024x174.png 1024w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-5-1-300x51.png 300w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-5-1-768x131.png 768w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-5-1.png 1081w\" sizes=\"(max-width: 1024px) 100vw, 1024px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-419f3ed elementor-widget elementor-widget-text-editor\" data-id=\"419f3ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">The column names we will use are:\u00a0<\/span><\/p><ol><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approval ID\u00a0<\/span><\/li><\/ol><ol><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Flow Run ID <\/span><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78dade9 elementor-widget elementor-widget-heading\" data-id=\"78dade9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 2. Add steps in the approval workflow to track ids<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b1f553d elementor-widget elementor-widget-text-editor\" data-id=\"b1f553d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s add an \u201cUpdate item\u201d step in Power Automate, right in between the \u201cCreate an approval\u201d and then \u201cWait for an approval\u201d actions.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">In the \u201cApproval ID\u201d column, let\u2019s store the Approval ID that <\/span>comes <span style=\"font-weight: 400;\">from the \u201cCreate an <a href=\"https:\/\/powergi.net\/blog\/dynamic-and-sequential-approvals-in-power-automate\/\"><strong>approval action<\/strong><\/a>\u201d.\u00a0<\/span><\/p><p>In the \u201cFlow Run ID\u201d column, let\u2019s use the following code:\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3307825 elementor-widget elementor-widget-code-highlight\" data-id=\"3307825\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>workflow()?['run']['name']<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fa0fc60 elementor-widget elementor-widget-spacer\" data-id=\"fa0fc60\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ac42ad elementor-widget elementor-widget-image\" data-id=\"2ac42ad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"555\" height=\"405\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-6-1.png\" class=\"attachment-large size-large wp-image-5996\" alt=\"Flow Run ID column\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-6-1.png 555w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-6-1-300x219.png 300w\" sizes=\"(max-width: 555px) 100vw, 555px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ff0fa3 elementor-widget elementor-widget-text-editor\" data-id=\"2ff0fa3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Once we do this, every time an approval request is created, both the flow ID and run ID will be added to each SharePoint record so we know all details related to each project we send for approval. <\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2726ab8 elementor-widget elementor-widget-heading\" data-id=\"2726ab8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 3. Create a separate flow to force approvals <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-402768c elementor-widget elementor-widget-heading\" data-id=\"402768c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3.1 Update Approvals table<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0dd1332 elementor-widget elementor-widget-text-editor\" data-id=\"0dd1332\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s find the \u201cUpdate a row\u201d action from the Dataverse connector and rename it to \u201c<\/span><b>Update Approvals<\/b><span style=\"font-weight: 400;\">\u201d.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">We need to set up this card as follows:\u00a0<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Row ID: Approval ID column we previously stored in SharePoint\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stage: Complete\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status Reason: Completed\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Completed On: current time\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Result: Approve\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status: Inactive\u00a0<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56a43f6 elementor-widget elementor-widget-image\" data-id=\"56a43f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"459\" height=\"892\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-7-1.png\" class=\"attachment-large size-large wp-image-5997\" alt=\"Approval ID column\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-7-1.png 459w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-7-1-154x300.png 154w\" sizes=\"(max-width: 459px) 100vw, 459px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6b7345b elementor-widget elementor-widget-heading\" data-id=\"6b7345b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3.2 Get Flow Approval record related to request <\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c5ee57b elementor-widget elementor-widget-text-editor\" data-id=\"c5ee57b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">We need to find the record related to the current approval request that is waiting for the approval to happen.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">We need to set up as follows:\u00a0<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Find the \u201cGet rows\u201d action from the Dataverse connector\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Rename to \u201cGet pending approval\u201d\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select \u201cFlow Approval\u201d table\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Set up the filter rows field with the following code:\u00a0<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2c8b3b elementor-widget elementor-widget-code-highlight\" data-id=\"b2c8b3b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>msdyn_flow_flowapproval_flowrunsequenceid eq 'run-id-stored-in-data-table' and statuscode eq 192350001<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-90a9307 elementor-widget elementor-widget-spacer\" data-id=\"90a9307\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7563cba elementor-widget elementor-widget-image\" data-id=\"7563cba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"458\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-8-1.png\" class=\"attachment-large size-large wp-image-5998\" alt=\"Get Pending Approvals\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-8-1.png 611w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-8-1-300x225.png 300w\" sizes=\"(max-width: 611px) 100vw, 611px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1536aad elementor-widget elementor-widget-text-editor\" data-id=\"1536aad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">This will return one single row that we will use in steps # 3 and #5.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-472d983 elementor-widget elementor-widget-heading\" data-id=\"472d983\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3.3 Update Flow Approval record<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2e262e7 elementor-widget elementor-widget-text-editor\" data-id=\"2e262e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s find the \u201cUpdate a row\u201d action from the Dataverse connector, rename it to \u201cUpdate Flow Approvals\u201d, and select the \u201cFlow approvals\u201d table.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">We need to set up as follows:\u00a0<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Row ID: flow approval id column from \u201cGet pending approval\u201d results.\u00a0<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-975e8db elementor-widget elementor-widget-code-highlight\" data-id=\"975e8db\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>@{first(outputs('Get_pending_approval')?['body\/value'])?['msdyn_flow_flowapprovalid']} \r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2c67fb9 elementor-widget elementor-widget-text-editor\" data-id=\"2c67fb9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status Reason: Completed\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status: Inactive\u00a0<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-67a31a4 elementor-widget elementor-widget-image\" data-id=\"67a31a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"688\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-9-1.png\" class=\"attachment-large size-large wp-image-5999\" alt=\"Update Flow Approval\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-9-1.png 606w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-9-1-264x300.png 264w\" sizes=\"(max-width: 606px) 100vw, 606px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6dd662c elementor-widget elementor-widget-heading\" data-id=\"6dd662c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3.4 Add Approval Response record<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8c1a0c6 elementor-widget elementor-widget-text-editor\" data-id=\"8c1a0c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s find the \u201cAdd a row\u201d action from the <\/span><a href=\"https:\/\/powergi.net\/blog\/cancel-old-approval-requests-sent-from-power-automate-dataverse-approvals\/\"><b>Dataverse connector<\/b><\/a><span style=\"font-weight: 400;\">, rename it to \u201cAdd approval response\u201d, and select the \u201cApproval Responses\u201d table.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">We need to set up as follows:\u00a0<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approval (approvals):\u00a0 msdyn_flow_approvals(approval-id-from-data-table)\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approval Stage Key: @{toUpper(approval-id-from-data-table)}_BASIC\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Name: null\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Response: Approve\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stage: Basic\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status Reason: Committed\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Approval Id Index: @{toUpper(approval-id-from-data-table)}\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Comments: Forced approved\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Owners (Owners): systemusers(@{outputs(\u2018Update_Approvals\u2019)?[\u2018body\/_ownerid_value\u2019]}) \u2013 owner from the Approvals table (or if you want to use a generic user for forced completions, just find the user\u2019s GUID in the System Users table in Dataverse)\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stage Index: BASIC\u00a0<\/span><\/li><\/ul><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Status: Inactive\u00a0<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ecbc01e elementor-widget elementor-widget-image\" data-id=\"ecbc01e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"512\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1MGK5QMPx4iG5rJlXuxgX-RA9hb30Meo.jpg\" class=\"attachment-large size-large wp-image-6021\" alt=\"Add Approval Response\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1MGK5QMPx4iG5rJlXuxgX-RA9hb30Meo.jpg 368w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1MGK5QMPx4iG5rJlXuxgX-RA9hb30Meo-216x300.jpg 216w\" sizes=\"(max-width: 368px) 100vw, 368px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c413dd6 elementor-widget elementor-widget-heading\" data-id=\"c413dd6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">3.5 Force flow run to stop waiting<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb2def6 elementor-widget elementor-widget-text-editor\" data-id=\"fb2def6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s find the \u201cHTTP request\u201d action. And set it up as follows:\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b0b83a4 elementor-widget elementor-widget-image\" data-id=\"b0b83a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"708\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1uiCBF-wcLUcRzjCRdqC0YHO7you5LTC.jpg\" class=\"attachment-large size-large wp-image-6022\" alt=\"flow run to stop waiting\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1uiCBF-wcLUcRzjCRdqC0YHO7you5LTC.jpg 609w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1uiCBF-wcLUcRzjCRdqC0YHO7you5LTC-258x300.jpg 258w\" sizes=\"(max-width: 609px) 100vw, 609px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c9c505 elementor-widget elementor-widget-text-editor\" data-id=\"6c9c505\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Method:\u00a0<\/p><p>POST\u00a0<\/p><p>URI:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3eee101 elementor-widget elementor-widget-code-highlight\" data-id=\"3eee101\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>{first(outputs('Get_pending_approval')?['body\/value'])?['msdyn_flow_flowapproval_flownotificationuri']} <\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-94462f4 elementor-widget elementor-widget-text-editor\" data-id=\"94462f4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">This Flow Approvals table contains a column that is linked to the flow run, we need to get the value from the \u201cFlow Notification URI\u201d column and use this as the URI for this HTTP request action. We obtained this value when getting rows from this table in the \u201cGet pending approval\u201d action.\u00a0<\/span><\/p><div id=\"seology-cta-2\">\t\t<div data-elementor-type=\"section\" data-elementor-id=\"7283\" class=\"elementor elementor-7283\" data-elementor-post-type=\"elementor_library\">\n\t\t\t<div class=\"elementor-element elementor-element-7e3f164 e-con-full e-flex e-con e-parent\" data-id=\"7e3f164\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"background_background\":\"classic\",\"jet_parallax_layout_list\":[]}'>\n\t\t<div class=\"elementor-element elementor-element-9078c9f e-con-full e-flex e-con e-child\" data-id=\"9078c9f\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b99949 elementor-widget elementor-widget-heading\" data-id=\"7b99949\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Is your business ready for automation?<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8e61db5 elementor-widget elementor-widget-heading\" data-id=\"8e61db5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Automate processes with Microsoft Power Platform.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a578907 e-flex e-con-boxed e-con e-child\" data-id=\"a578907\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e8c827b elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"e8c827b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"#ctc_chat\">\n\t\t\t<i aria-hidden=\"true\" class=\"fab fa-whatsapp\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d834237 elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"d834237\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"https:\/\/powergi.net\/es\/contact\/\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-envelope\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0a1d2b5 elementor-widget elementor-widget-image\" data-id=\"0a1d2b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"95\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1ROD2gssO7Tx6QN5Edb_UNl5zavWB0Kd.jpg\" class=\"attachment-large size-large wp-image-6023\" alt=\"Flow Notification URI\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1ROD2gssO7Tx6QN5Edb_UNl5zavWB0Kd.jpg 512w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1ROD2gssO7Tx6QN5Edb_UNl5zavWB0Kd-300x56.jpg 300w\" sizes=\"(max-width: 512px) 100vw, 512px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-80547b0 elementor-widget elementor-widget-code-highlight\" data-id=\"80547b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>Body: \r\n \r\n{ \r\n  \"responses\": [ \r\n\t{ \r\n  \t\"responder\": { \r\n    \t\"id\": \"GUID from Users Table related to Owner\" \r\n  \t}, \r\n  \t\"requestDate\": \"Timestamp 2024-07-28T23:24:28Z\", \r\n  \t\"responseDate\": \"Timestamp 2024-07-28T23:24:28Z\", \r\n  \t\"approverResponse\": \"Outcome Forced approved\", \r\n  \t\"comments\": \"Comments Forced approved\" \r\n\t} \r\n  ], \r\n  \"responseSummary\": \"Forced approved\", \r\n  \"completionDate\": \"Timestamp 2024-07-28T23:24:28Z\", \r\n  \"outcome\": \"Forced approved\", \r\n  \"name\": \"Approval ID\" \r\n} \r\n \r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8296a66 elementor-widget elementor-widget-text-editor\" data-id=\"8296a66\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><img decoding=\"async\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2026\/07\/migrated-img-5990-6a4450ee4a31e.webp\" alt=\"\"><span style=\"font-weight: 400;\"><br><\/span><\/p><p><span style=\"font-weight: 400;\">This is the code used for the screenshot shown above:<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-82872b3 elementor-widget elementor-widget-code-highlight\" data-id=\"82872b3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly class=\"language-javascript\">\n\t\t\t\t\t<xmp>{ \r\n  \"responses\": [ \r\n\t{ \r\n  \t\"responder\": { \r\n    \t\"id\": \"@{outputs('Update_Approvals')?['body\/_ownerid_value']}\" \r\n  \t}, \r\n  \t\"responseDate\": \"@{utcNow()}\", \r\n  \t\"approverResponse\": \"Forced approved\", \r\n  \t\"comments\": \"Forced approved\" \r\n\t} \r\n  ], \r\n  \"responseSummary\": \"Forced approved\", \r\n  \"completionDate\": \"@{utcNow()}\", \r\n  \"outcome\": \"Forced approved\", \r\n  \"name\": \"@{outputs('Get_item')?['body\/ApprovalID']}\" \r\n} \r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5bdb790 elementor-widget elementor-widget-text-editor\" data-id=\"5bdb790\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Streamlining approval processes is crucial for timely decision-making in any organization. Our <a href=\"https:\/\/powergi.net\/microsoft-power-platform-consulting-services\/\"><strong>Power Platform Consulting Service<\/strong><\/a> specializes in designing efficient workflows using Microsoft Power Automate to minimize bottlenecks and automate repetitive tasks. By partnering with us, you can ensure your business processes are optimized for performance and scalability, aligning with your digital transformation goals.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d85ecc2 elementor-widget elementor-widget-heading\" data-id=\"d85ecc2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Step 4. Test automation <\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fc04578 elementor-widget elementor-widget-text-editor\" data-id=\"fc04578\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Let\u2019s start with starting a new approval request and then triggering the flow that forces approvals.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bb631a7 elementor-widget elementor-widget-image\" data-id=\"bb631a7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"580\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1K2mNl4evcqi20hLjHyAMBcGT-BvhOiC.jpg\" class=\"attachment-large size-large wp-image-6024\" alt=\"forces approvals\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1K2mNl4evcqi20hLjHyAMBcGT-BvhOiC.jpg 625w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/1K2mNl4evcqi20hLjHyAMBcGT-BvhOiC-300x278.jpg 300w\" sizes=\"(max-width: 625px) 100vw, 625px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7aef592 elementor-widget elementor-widget-text-editor\" data-id=\"7aef592\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Once the force approval workflow runs, the flow run that is waiting for the approval to happen should stop waiting and continue with the following steps:\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ccc0d68 elementor-widget elementor-widget-image\" data-id=\"ccc0d68\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"324\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-10.png\" class=\"attachment-large size-large wp-image-6000\" alt=\"Force Approval Steps\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-10.png 620w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-10-300x157.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9056a7c elementor-widget elementor-widget-text-editor\" data-id=\"9056a7c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">And when you check the approval requests from the approval modules in Teams or Power Automate, this should show as complete with the \u201cForced approved\u201d outcome: <\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3c8f1a5 elementor-widget elementor-widget-image\" data-id=\"3c8f1a5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"911\" height=\"577\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-11.png\" class=\"attachment-large size-large wp-image-6001\" alt=\"Approved Request Details\" srcset=\"https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-11.png 911w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-11-300x190.png 300w, https:\/\/powergi.net\/wp-content\/uploads\/2024\/07\/unnamed-11-768x486.png 768w\" sizes=\"(max-width: 911px) 100vw, 911px\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d6378a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d6378a8\" data-element_type=\"section\" data-e-type=\"section\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-428881e\" data-id=\"428881e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Table of Contents When we create approval requests with the out-of-the-box action in Power Automate, our flow will usually wait for the approval to happen for next steps to keep running, and this can be an issue if something happens with an approver and we can\u2019t get them to complete the request. So, sometimes it [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":5991,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"glossary_letter":"","footnotes":""},"categories":[85],"tags":[13,17,133],"class_list":["post-5990","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-power-automate-cat","tag-automation","tag-power-automate","tag-power-automate-desktop-app-services"],"glossary_letter":null,"rank_math_title":"Power Automate | Dataverse | Approval request | Stop waiting","rank_math_description":"Use Power Automate to force completion of an approval request and how to have your flow stop waiting for this approval.","rank_math_focus_keyword":"Stop waiting Power Automate approval request","_links":{"self":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts\/5990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/comments?post=5990"}],"version-history":[{"count":0,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts\/5990\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/media\/5991"}],"wp:attachment":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/media?parent=5990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/categories?post=5990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/tags?post=5990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}