cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Jenn_0014
Level: Powered On

Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Hi all, 

 

Sorry if this is a really basic question but I'm a bit stumped. 

 

I'm creating a flow to perform an action when a particular dynamics record is created or updated. So I have added my trigger, condition and action. The condition doesn't seem to be working. 

 

The field on which I am basing my condition is a lookup field in dynamics so I'm wondering if the value should be the text as it shows on the record or something else? 

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Jenn_0014
Level: Powered On

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Thanks, I have managed to solve by inputting the GUID in the condition value for sites, without the get record. 

Thanks again for your time. 

View solution in original post

6 REPLIES 6
Super User
Super User

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Hi @Jenn_0014 

 

Could you please post your flow condition?



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Jenn_0014
Level: Powered On

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Of course. My flow runs successfully but doesn't pick up the record which meets the condition. I have attached the flow, the successful run and the record which meets the conditionFLOW - Conditional Value.pngFLOW - Success.pngFLOW.png

Super User
Super User

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Hi,

 

Add another Get Record  (Sites Entity) before the IF Condition and pass the id from the current trigger. The only you can retrieve the text of the lookup value.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Jenn_0014
Level: Powered On

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

I am now receiving the error:

"status": 404,
"message": "new_sites With Id = 47787506-2fec-e911-a811-000d3a24ed81 Does Not Exist",
 
Thanks in advance
Super User
Super User

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Hi @Jenn_0014 

 

I don't think that GUID is not 12-4-4-4-12 format? Is this the correct id you using?

 

47787506-2fec-e911-a811-000d3a24ed81

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Jenn_0014
Level: Powered On

Re: Microsoft Flow & Dynamics CRM: Condition = Lookup Field Value

Thanks, I have managed to solve by inputting the GUID in the condition value for sites, without the get record. 

Thanks again for your time. 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,028)