3

Is there any way to cancel the Timed out approval. In my Scenario the approval will timeout when there is no response from the assigned person. I am resending the approval once again, but the previous approval was still there in the mail. Is there any way to cancel the timedout apporoval using flow?

Thanks in advance!

1 Answer 1

2

If you use the action "Start and wait for an approval" in flow, currently there is no such way to cancel the time out approval.

If you use actions like "Create an approval" or "Wait for an approval", we could use "Update a row" action to cancel the approval request by changing the record in Dataverse.

enter image description here

For detailed information, please refer to:

https://www.imenos.com/en/power-platform/cancel-and-escalate-power-automate-approval-request/

4
  • Is there some more official/authoritative documentation about how to update an Approval Request programmatically via Power Automate flow? I've been searching for hours and it's very hard to find relevant results. I came across one other article that warned about the dangers of NOT defining the field 'Approval Stage Key' and says This is not mandatory but will make the record align with other records = avoiding mess in DataBase. It sounds like you could easily mess things up and I'd like an authoritative solution. 365corner.pl/2020/11/13/timeout-in-power-automate-approval Commented Aug 11, 2023 at 10:17
  • I get this error on the Update a row action: Principal user (Id=*****-*****-*****-*****-*****, type=8, roleCount=6, privilegeCount=1256, accessMode=0, MetadataCachePrivilegesCount=4581, businessUnitId=*****-*****-*****-*****-*****), is missing prvWritemsdyn_flow_approval privilege (Id=*****-*****-*****-*****-*****) on OTC=10178 for entity 'msdyn_flow_approval' (LocalizedName='Approval'). context.Caller=*****-*****-*****-*****-*****. Consider adding missed privilege to one of the principal (user/team) roles. Commented Aug 11, 2023 at 10:51
  • Possible solution to error is here, but I can't test it because I am not 'adminy' enough to grant myself those permissions: powerusers.microsoft.com/t5/General-Power-Automate/… Commented Aug 11, 2023 at 10:58
  • For reference, it turns out I was able to grant the account running the flow the 'Approvals Administrator' role through a process similar to that described in this video: youtube.com/watch?v=dWi5j06eC0I Commented Aug 16, 2023 at 1:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.