I'm trying to filter D365FO in a Flow by using the Get Records item.
Im using the Entity "Customers" and I'm trying to retrieve all records where OnHoldStatus is gretaher than 0.
In fact, this field is originally an Enum field in D365FO
I have tried following Filter Query expressions:
1.- Onholdstatus gt 0
2.- Onholdstatus eq 'All'
But no one of both works. When running flow I get an error of mismatch types of comparison items, with integer or stream.
How can I formulate the Filter Query Expression properly?
Could you please share more details about the OnHoldStatus column in the sharepoint list?
I have made a test on my side to create a OnHoldStatus column in the sharepoint list as below:
Please refer to screenshot below to create the flow:
The expression in the Filter array as below:
The flow would run successfully as below:
Thank you for posting on the Flow Community Forum! It appears as though @v-yuazh-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!
Thank you for being an active member of the Flow Community!
Flow Community Manager
for enum fields you have to filter in another way than "normal" fields.
Try this one for your topic:
OnHoldStatus gt Microsoft.Dynamics.DataEntities.CustVendorBlocked'No'
Then you will receive f.e. the following Customer Accounts:
Have you solved your issue?
I have similar issue which is:
1. Get records from D365FO Entity
2. Filter it based on status
3. Store it in Sharepoint
Could you please help me?
The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
The top training and networking event across the globe for Microsoft Business Applications