简体   繁体   中英

Get records in MS flow from Dynamics CRM

I am new to CRM and flow and in building a flow using MS flow, I need to get a record from Dynamics CRM equivalent to below SQL query -

select * from contacts where emailId = '<email id>'

Can you please help me to understand that how can I achieve this. I tried using List records feature but it threw an error that OData query is not correct. Image of flow is attached.

在此处输入图片说明

好吧,它正在工作,我只需要将提供的参数放在单引号中,例如 -

 emailaddress1 eq '<Customer email>'

If I understand correctly, the issue you are facing is with Filter query, Flow is not throwing an Error.

  • I tried to replicate the Flow on my Instance/org.
  • The issue is see is your filter filed "emailadress" should be selected from CRM ie from system.
  • It is not mapped from CRM rather you wrote it per hand.
  • Click on Filter query it will open the dialog from where you could map the fields. Screenshot below will help you understand more.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM