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 Apps / getting error in creat...
Power Apps
Answered

getting error in creating Null value

(0) ShareShare
ReportReport
Posted on by 129

Hi please help with formula to add in body of email, Simple formula failing again and again.

 

I have lesson learned log and have Project ID column (value) I m creating expression in email v2 if project ID is missing in the Lesson log, KCI email should say text "Generic"  and not fail the email to user, Please help with the right formula, as if ID is present still email saying generic in email. 

 

if(equals(triggerBody()?['body/ProjectID'], null), 'Generic')

Categories:
I have the same question (0)
  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @varshajohar ,

     

    I think you need this

    if(equals(triggerBody()?['body/ProjectID'], null), 'Generic', triggerBody()?['body/ProjectID'])

     

    Hope this helps

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard