Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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:')

 

 

 

  • Ellis Karim Profile Picture
    11,122 Super User 2025 Season 1 on at
    Re: To use IF expression inside Approval Card

    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1