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 / Trigger Condition not ...
Power Automate
Unanswered

Trigger Condition not working when combining not and equals

(0) ShareShare
ReportReport
Posted on by 2

Dear Pros,

 

I am trying to use the following trigger condition

@not(equals(triggerBody()?['StatusOfDocumentationOld'],triggerBody()?['StatusOfDocumentation']?['Value']))

to compare to values and only fire when they are not equal.

 

However, I am always getting

Unable to get property 'properties' of undefined or null reference

as an error message. Both values exist and once I remove the not from the condition, it works fine...

 

Any idea what I am doing wrong is highly appreciated.

 

Many thanks!

Christian

 

Categories:
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @anatius007 ,

     

    I used the same expression on my side for testing. When I saved Flow, I didn't encounter similar problems.

    Maybe you can try the following expression:

    @equals(equals(triggerBody()?['StatusOfDocumentationOld'],triggerBody()?['StatusOfDocumentation']?['Value']),false)

     

    Best Regards,

  • anatius007 Profile Picture
    2 on at

    Hi Barry,

     

    Thanks for your suggestion, but your proposed expression gives the same error message as my original one...

    Any other ideas?

     

    Regards,

    Christian

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @anatius007 ,

     

    It's strange that these trigger conditions work fine on my side.

    Have you tried re-creating the Flow and updating the connection?

    Or use other fields to test the not() function.

     

    Besides, you could consider using Condition instead of trigger conditions.

     

    Best Regards,

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
11manish Profile Picture

11manish 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard