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 / if-empty entry. Expres...
Power Automate
Answered

if-empty entry. Expression

(0) ShareShare
ReportReport
Posted on by 212

Hello everyone,

I have a form query in which, among other things, a date can be entered "Datum Kaufbeleg", but does not have to be (optional - not mandatory)

 

In a PowerAutomate flow I now have, among other things, an approval action.
How can I now enter (possibly via expression) that if the date is available, the date should be stored in the approval. If no date is available, "not available" should be entered. If-empty expression? How could this look?

 

I don't want to do it via a condition because the process is very complex and I don't want to have another condition.

 

Thank you for you help. 

 

Best regards

 

Patrick 

Screenshot_000862.png
Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PatrickSched ,

     

    Please try:

    if(
     empty(outputs()?['body/r25XXXXXXXXX']),
     'not available',
     outputs()?['body/r25XXXXXXXXX']
    )

     

    Best Regards,

    Bof

  • PatrickSched Profile Picture
    212 on at

    @v-bofeng-msft  Thank you very much. To solution was so simple that i forgot it. 😄

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard