Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Without using C# Code Get related/associated products from a Bundle

Posted on by 245

I would like to get the details of a Product Bundle without using C#.

I have a field service work order that has a "Service" product bundle (also individual products) and I would like to loop thru the Work Order products and create child work orders.  While looping if I come across a bundle product I need the related/associated products of the bundle, how can I get this data without using C#.

  • Verified answer
    sdfasdf Profile Picture
    sdfasdf 840 on at
    RE: Without using C# Code Get related/associated products from a Bundle

    Hello,

    Unfortunately, native workflows won't allow you to query related records and operate on them, so you'll need to create a Custom Workflow Activity (plug-in ) using C# code. Another approach would be for you to use custom JavaScript code to accomplish what you need.

    I hope it helps.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Without using C# Code Get related/associated products from a Bundle

    Hi,

    You can try web api to get the related/associated products of the bundle.

    If found helpful, Please mark my answer verified.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans