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 - General Discussion
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

 

I have the same question (0)
  • v-bacao-msft Profile Picture
    on at
    Re: Trigger Condition not working when combining not and equals

     

    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
    Re: Trigger Condition not working when combining not and equals

    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
    on at
    Re: Trigger Condition not working when combining not and equals

     

    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

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

#2
Tomac Profile Picture

Tomac 341 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard