cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
annetoal
Super User
Super User

Getting cancel output from Approval connector

Let's say Power Automate sends start and wait for approval to a user, and then the user who sent the approval cancels the request. I'd like the cancellation to kick off another action in a different Flow. How can Flow get the cancellation output? @Expiscornovus 

 

Thanks,

Anne

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Btw, here is an example. If that helps.

 

length(outputs('Start_and_wait_for_an_approval')?['body/outcome'])

 

example_oncancelled.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

4 REPLIES 4
Expiscornovus
Super User
Super User

Hi @annetoal,

 

As far as I am aware the outcome field of a cancelled approval action is empty.

You could check that field for empty in a condition and if that is true run a child flow action or a http action to run a child flow in the If Yes section?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Expiscornovus
Super User
Super User

Btw, here is an example. If that helps.

 

length(outputs('Start_and_wait_for_an_approval')?['body/outcome'])

 

example_oncancelled.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Thanks for replying so quickly! Thinking through this idea--the empty field is in the Dataverse table of approvals? So I would have to store the row number in a variable so I could go back later and see whether there is anything in the outcome?

 

Anne

Okay I see where you're going. Much less complicated than what I was thinking of :-). Thank you.

 

Anne

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,062)