web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending email -- condi...
Power Automate
Unanswered

Sending email -- conditionally have contents

(0) ShareShare
ReportReport
Posted on by 80

Hi 

 

Here, I want to conditionally have 'Comment from previous approver'. 

The comment is stored in sharepoint list, and I want to have that comment there, but if the comment column is empty, I want to put some text something like 'The previous approver didn't leave the comment'. 

 

Is there a way to achieve this?

Screenshot 2023-07-28 at 10.55.16 PM.png

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Re: Sending email -- conditionally have contents

    Hi @pinball2 

     

    Pls add an expression using if() function:

    if(empty(item()?['Commentfrompreviousapprover']),'Default commnet',item()?['Commentfrompreviousapprover'])

    in the above expression, I have taken the item from the loop so have used item()?['Commentfrompreviousapprover'], pls replace it with the actual field as per your need.

    ManishSolanki_0-1690614499916.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard