cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PauloCosta
Level: Powered On

Unable to capture the approval details of the 2nd stage approval

Hi,

 

I am relatively new to Flow and am building a 2 stage approval workflow:

 

Stage 1 - Manager approval [start an approval]

Approval record created in a SharePoint list

Stage 2 - Director approval [start and wait for an approval]

Approval record created in a SharePoint list.

 

The problem I am having is that the stage 1 approval record is be created correctly, but I am unable to capture the approval details of the 2nd stage approval.

 

The only dynamic content I am able to use is the Response, Approver name, Response date and Comments from the start an approval action for stage 1 approval, as these dynamic content elements are not available in the start and wait for an approval action used for stage 2.

 

Flow.jpg

Your help in this matter is greatly appreciated.

 

Paulo

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Unable to capture the approval details of the 2nd stage approval

Your problem is in Stage 1 I think and I suspect you are seeing it because you started from a Template.  There are several different Approval actions currently.

  • Create an Approval
  • Wait for an Approval
  • Start and wait for an Approval

You will notice that Start an Approval isn't in that list.  That is a version one release of the approval action.  That's why you are seeing different dynamic content from the actions.  The newer approval action can be sent to multiple parallel approvers so it always returns the responses as a collection of reponse objects. You'll need to process the responses in a loop if you want access to all the information like the comments.  There is an Outcome object that includes the overall response without the details. 

 

You should really replace the Start an Approval with Start and Wait for an Approval and learn to use the more detailed output in the newer version.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Unable to capture the approval details of the 2nd stage approval

Your problem is in Stage 1 I think and I suspect you are seeing it because you started from a Template.  There are several different Approval actions currently.

  • Create an Approval
  • Wait for an Approval
  • Start and wait for an Approval

You will notice that Start an Approval isn't in that list.  That is a version one release of the approval action.  That's why you are seeing different dynamic content from the actions.  The newer approval action can be sent to multiple parallel approvers so it always returns the responses as a collection of reponse objects. You'll need to process the responses in a loop if you want access to all the information like the comments.  There is an Outcome object that includes the overall response without the details. 

 

You should really replace the Start an Approval with Start and Wait for an Approval and learn to use the more detailed output in the newer version.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,752)