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 / 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:
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

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard