cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fklatecki
Advocate II
Advocate II

struggling with Odata filter

Greetings,

 

I am struggling with what I thought was straight forward odata filter from a CDS Task entity (D365). The options for the "statecode" are Open, Completed, or Canceled. The display name Activity Status.

 

Activity Status
statecode

 

This it the cryptic error for me: 

  "message": "A binary operator with incompatible types was detected. Found operand types 'Edm.Int32' and 'Edm.String' for operator kind 'Equal'.",

 

Thoughts as to the error of my ways, would be appreciated.

 

capture_odata1.png

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @fklatecki ,

 

Could you please take a try with the Filter Array action to achieve your requirement?

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

fklatecki
Advocate II
Advocate II

Greetings,

 

The reason I went to the odata filter, was due to the fact that the filter array was having no effect on the inbound data. I have two tasks I am testing with in Dynamics 365, one is Open, the other Completed, both pass through the filter. Thoughts?

 

Capture5.PNG

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.

Users online (2,076)