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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Expression IF (display...
Power Automate
Answered

Expression IF (display text if true or no text if false)

(0) ShareShare
ReportReport
Posted on by 834
Hi guys, how do i get this one right.... it should tell "Alert: " if the column systemAlert has any value...

If( empty(triggerOutputs()?[
'body/SystemAlert']),'Alert: ','')
Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    Are you getting an error or is it just not working?

    If it just isn't working, try testing for null and/or check the length using the len() expression and test if it is greater than 0.

  • Sifu Profile Picture
    834 on at

    hi, its not doing anything, same with LEN() 😞

  • Sifu Profile Picture
    834 on at

    at the end i managed, not sure where i did the mystake...

     

    If(equals(length(triggerOutputs()?['body/SystemAlert']),0),'','Alert: ')

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard