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 Automate - Building Flows
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 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard