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

How to use Get Records (Dynamics 365) inside Select Array ?

Hey Guys,

 

I'm new to the flows. I trying to connect flow with Dynamics 365 data. I got stuck with below when I'm building,

 

If you see snaps below, in "Select" Array, the field Account# is Lookup type in Quote Entity. Currently It is returning value as GUID. I want to access the related entity data, which means Account Name. Is there any possibility to use Get Record operation inside Select Array or any other way to achieve this ?

 

Can see my full flow configuration in the below thread

https://powerusers.microsoft.com/t5/Connecting-To-Data/Issue-in-Grouping-with-Dynamics-CRM-data/m-p/...

 

Flow_Bulid.jpgFlow_Bulid_2.jpg

 

Thanks,

Praveen

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Praveenpk365 ,

 

If you want to reference the field values in the lookup entity, using Select does not work.

You could refer to the configuration below.

  • Use array variables to store the information you need instead of through Select.
  • Use Get record action to get the field value specified in the lookup entity.
  • Besides, If you want to filter records, you could add a condition above the Append to array action.

Image reference:

149.PNG151.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

2 REPLIES 2
abm
Super User
Super User

Hi @Praveenpk365 ,

 

After querying the list records iterate the records in a loop. Then use the Get Record flow action. Use the combined results from list and get to construct the select array

 

f1.png

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

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!

Learn more from my blog
Power Automate Video Tutorials
v-bacao-msft
Community Support
Community Support

 

Hi @Praveenpk365 ,

 

If you want to reference the field values in the lookup entity, using Select does not work.

You could refer to the configuration below.

  • Use array variables to store the information you need instead of through Select.
  • Use Get record action to get the field value specified in the lookup entity.
  • Besides, If you want to filter records, you could add a condition above the Append to array action.

Image reference:

149.PNG151.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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,338)