cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ayyappa
Frequent Visitor

How do I add as filter in the 'Filter Query' (OData): JSON field 'addressused' does not exists?

Hi

 

I am connecting to 'ActivityParties' in CDS and trying to use some filters. I already have 2 filters in it and they are working. I need to add a third filter.

 

ActivityParties has some JSON key values where "addressused" key exists if it is of type 'contact' and does not exists if it is some other type say Account.

 

I want to add the filter such that I filter out the JSON values if "addressused" field does not exists in it.

 

Please could you guide me

 

FlowFlowchart.PNGActivityPartiesexampleJSON.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Ayyappa ,

 

I have made a test and sorry for I don't see any function to check if a field is exist in the data filter and I'm afraid that there is no any way to achieve it in Microsoft flow currently.

 

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.

View solution in original post

3 REPLIES 3
ManishJain
Solution Sage
Solution Sage

Hi @Ayyappa ,

 

Is this your custom entity ? 

 

Thanks

No, it’s out of box Dynamics CRM entity

v-alzhan-msft
Community Support
Community Support

Hi @Ayyappa ,

 

I have made a test and sorry for I don't see any function to check if a field is exist in the data filter and I'm afraid that there is no any way to achieve it in Microsoft flow currently.

 

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.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,099)