how to cancel approval email when item was cancelled by requestor
P.S. If you are asking to cancel the e-mail with the approval options; you cannot cancel it since it was already sent. However, when a user cancels an approval request, if the approver tries to approve something that has been cancelled, they will get a warning message notifying them. However, with the method above you can send the approvers an e-mail saying the request was cancelled.
To do this requires the use of a premium action, so you will need to have the appropriate licensing to use premium connectors. This is from a rather large workflow, so I will just show the pertinent section:
After your approval, add a switch that contains the values of the approval options. You will use the default switch to handle when the requester cancels the approval. With the key part for checking if the approval was cancelled here:
You will get the Approval from table with the Dataverse Get a row by ID action with the Approval ID. Then add a condition to check if the Status Reason is equal to 192350006. If it is, it was canceled, and you can do what you want on the yes side of the condition. I send myself an e-mail if it wasn't canceled since that would mean some other outcome that wasn't expected occurred. So far, that has never happened. 🙂
David_MA
385
Super User 2025 Season 1
stampcoin
320
Michael E. Gernaey
314
Super User 2025 Season 1