cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
carterbarry88
Advocate I
Advocate I

Issue with Boolean / Two Option Set field. A binary operator with incompatible types was detected.

I came across the following issue with my trigger:

 

A binary operator with incompatible types was detected. Found operand types 'Edm.Boolean' and 'Edm.Int32' for operator kind 'Equal'.

 

I was trying to do the following for the filter expression:

 

new_booleanfield eq 1

1 ACCEPTED SOLUTION

Accepted Solutions
carterbarry88
Advocate I
Advocate I

In order to fix this, I changed the filter expression to new_booleanfield eq true

 

You cannot use the option set value for the boolean field. You have to use true or false values

View solution in original post

1 REPLY 1
carterbarry88
Advocate I
Advocate I

In order to fix this, I changed the filter expression to new_booleanfield eq true

 

You cannot use the option set value for the boolean field. You have to use true or false values

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,356)