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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,974)