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 III
Super User III

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 blogPower 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.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,526)