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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Opportunity-Get Related Opportunity Product fields in workflow email

(0) ShareShare
ReportReport
Posted on by

Hi guys,

I am trying to send an email via workflow, primary entity is OPPORTUNITY, I also want to get fields from OPPORTUNITY Product, however I am not winning in selecting that from the related entities in the "Look for" dropdown list.

Any suggestions in how to tackle this?

I have the same question (0)
  • Marian Buruiana Profile Picture
    4 on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Hi, can you share with us your custom workflow?

  • Community Member Profile Picture
    on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Thanks for all the responses guys. I ended up writing a custom workflow to get the desired results.

    Appreciated.

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Hello,

    I replay your scenario using Flow.

    First, i added a new field called "related products report". Please refer to the image:

    related-product-report-.png

    To populate this field, i created two Flows. (onCreate/onUpdate) of the opportunityProduct.

    flowdetails.png

    Then you can use this field in your workflow.

    Maybe you can avoid creating field. And construct your email directly using Flow. Hope this helps.

  • Verified answer
    M.Azwar Alam Profile Picture
    on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Hi,

    You need develop custom workflow activity to get specific child record fields data

    Mark answer as verified, if it is feasible for you

  • Verified answer
    LuHao Profile Picture
    40,890 on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Hi Neeft,

    As ba365guy said, in the workflow we cannot dynamically get the field values of the child records.

    Because the relationship between Opportunity and Opportunity Products is 1: N, we cannot get the field values of Opportunity Products (child) in the Opportunity workflow (parent).

    Imagine this scenario, a parent record has many child records, we only say that the parent record needs to get the value of a certain child record, then the parent record cannot determine which child record to take the value from.

    Conversely, a child record has only one parent record, so the child record gets the value of the parent record smoothly.

    Therefore, we cannot get the field values of Opportunity Products in the workflow of Opportunity.

  • Verified answer
    ba365guy Profile Picture
    2,950 on at
    RE: Opportunity-Get Related Opportunity Product fields in workflow email

    Opportunity and Opportunity Product are related as 1:N

    Inside workflow email editor, you will be able to access the parent entity's details i.e. N:1 only

    This is because, there are 'N' child records (for opportunity) and which record's data to be populated in email?

    That's why it is not feasible with Out of box workflow email editor

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 172

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans