web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Dynamics 365 - Li...
Power Automate
Unanswered

Flow Dynamics 365 - List Record Expand - Unable to use expanded field value as dynamic in create

(0) ShareShare
ReportReport
Posted on by

I am quite new on flow and work with Microsoft Dynamics. I am currently working on a solution that copies a config record to all applicable Contacts related to a specific BU. Therefor I get a list of records with an expand as you kan see down here (which works as you can see in the second screendump):

List Records.PNG

 

List result.PNG

 

Now I want to use the fullname (in concat with 2 other fields) in the Name of the record that I want to create. The problem here is that I do not have the fullname field available in the dynamic content part as you can see down here:

Dynamic content.PNG

 

Do I need to use expression for that? Appreciate any guidance / help on this topic. Thanks

 

Regards,

Nico

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi Nico,

     

    I'm going to try to give you some hints and pointers but this is all from the top of my head, as I currently don't have an environment available to simulate this scenario.

     

    As you is an expand query the result will contain the expand, but - as you notice - the result isn't flattened in the dynamic content. You can get the expanded data through the cbr_contactid field. This will result in two possible results.

    1. The value of cbr_contactid will be automatically transformed to an object where you can get the fullname field from.

    2. The value is returned as a string. In this case you can convert the string to an object (which will have the fullname field) using the json()-expression.

     

    The easiest to test and debug this is to place the cbr_contactid in a Compose-action. If automatically converted the Compose action will return an object with the fullname field. Else you can add the json()-expression in the Compose action.

     

    As the structure of the object isn't known to Flow you might have to supply a sample or schema. Or you should get the field from the Compose action using something like "Compose?['fullname']".

     

    Hope this helps and gives you some guidance. Let my know if it doesn't work. I can create a scenario to test this over the weekend.

     

    Regards,

    Arjan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard