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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / To use IF expression i...
Power Automate
Unanswered

To use IF expression inside Approval Card

(0) ShareShare
ReportReport
Posted on by

So I want to Hide/Show some text based on a condition inside the Approval Card

 

Is that possible?

 

indhaa_0-1630126737913.png

 

indhaa_1-1630126803802.png  

 

I added as below but it is not showing the text even if the condition is true or not.

if(empty(body('Update_item_Per_Pending_Review')?['body/CentreEnv/Value']),'Data Centre Environment:')

 

 

 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    12,203 Super User 2026 Season 1 on at

    Try adding text to the IF expression for where the condition evaluates to NOT EMPTY (i.e. empty() returns false):

     

    if(empty(body('Update_item_Per_Pending_Review')?['body/CentreEnv/Value']),'Data Centre Environment:','NOT EMPTY TEXT')

     

     Ellis

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard