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 Automate
Unanswered

Condition not working

(0) ShareShare
ReportReport
Posted on by 431

Hi, I have built a simple Flow that sends an e-mail to the person assigned to the task, when a new task is created in a Sharepoint task list. That works perfectly.

However, when there is no person assigned, I get an error. I have tried different ways, but nothing works. I do not understand why: logic tells me that that when the condition is not met, the Flow should go to "If no". But instead I get an error.

"Assigned to" is an optional field.

Right now, I've tested this:

Namnlöss.png

 

This works fine when there is a person assigned, but renders this error message when "Assigned to" is empty.

Namnlös.png

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,323 Super User 2025 Season 2 on at

    I would change your condition to trap a null value which is not the same as a no value. So if Assignedto is equal to [expression] null then etc etc.

    Rob
    Los Gallardos

  • MM-05080756-0 Profile Picture
    431 on at

    Thanks! I'll try that! But actually, I have no idea how to write a null value ... I'd be happy for detailed steps.

     

    Also, I noticed that the "Edit in advanced mode" link is missing from the conditions block. Maybe I need that for the null expression?

    Namdxfnlös.png

  • Verified answer
    RobElliott Profile Picture
    10,323 Super User 2025 Season 2 on at

    No you don't need the edit in advanced mode. In your condition select the AssignedTo field in the left box and is equal to in the middle box. Then in the right box click on Expression (next to Dynamic content) and type null. That will bring up an item for you to select. Then click OK.

    null.png

  • MM-05080756-0 Profile Picture
    431 on at

    Oh, thanks (blushing). I never noticed the tab "Expression" before.

    Everything works just perfectly now. 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard