Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Get the approval comments into a Variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a flow that need to request approval for 6 approvers and register the decisions and comments for all into an ADO. Im try to register the comments into a Variable. Problem is that when the Comments is null this step give an error. So, Ive inserted a condition (when Response comments is equal to True set the variable) and even if with comments =True, the condition gives me the no answer. 

 

Any suggestion to solve this? 

  • Verified answer
    Pstork1 Profile Picture
    66,854 Most Valuable Professional on at
    Re: Get the approval comments into a Variable

    Put a Coalesce() function around the response comment.  Coalesce will work through the parameters from the left to the right and use the first one that isn't null.  So something like the code below will guarantee that something always gets added to the variable.  It also helps tracking which user's didn't supply comments.

    Coalesce(ResponseComment,"No Comments")

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492