Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Where does the data saved in a subgrid stored?

(0) ShareShare
ReportReport
Posted on by 80

Hi there,

we have a contact subgrid on opportunity form and we need to retrieve the data in the subgrid in a microsoft flow. is there a way to get the data saved in the subgrid?

Please suggest.

Thanks,

Venu

  • Suggested answer
    MikeC282 Profile Picture
    2,148 on at
    RE: Where does the data saved in a subgrid stored?

    Hi.

    You can use a list record flow step to retrieve the list of contacts. I'm assuming with the subgrid on Opportunity. You have a lookup field on contacts linking to the primary opportunity.

    See below screenshot. You'd replace new_opportunitylookupfield with your lookup field's logical name and after the eq you'll need to add in the value of the related opportunity ID.

    6012.Flow.png

    new_opportunitylookupfield eq '@{triggerBody()?['contactid']}'

  • David Carr Profile Picture
    45 on at
    RE: Where does the data saved in a subgrid stored?

    Yes, you should be able to, assuming this is a standard 1:N from Opportunity to Contact.  

    You'd need to create a query within a List Records action to pull that data back.   So:

    (1) Perhaps trigger the flow on a button push on the Opportunity subgrid?  (No way I can think of for Flow to know you have a new contact added to that subgrid.)

    (2) Use the OpportunityID as the key to a query that finds all contacts linked to that ID.

    (3) Loop through the List Records result, and do what you need to do...

    HTH,

    Dave

    President, Visionary Software

    http://crm-rules.com

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans