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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / if-empty entry. Expres...
Power Automate
Unanswered

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 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: if-empty entry. Expression

    Hi @PatrickSched ,

     

    Please try:

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

     

    Best Regards,

    Bof

  • PatrickSched Profile Picture
    212 on at
    Re: if-empty entry. Expression

    @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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard