web
You’re offline. This is a read only version of the page.
close
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

Opportunity Products and Flows

(0) ShareShare
ReportReport
Posted on by 20

Hello,

Can you update fields upon creation of new opportunity products using a flow? I will give more background information: 

My organization uses opportunities and opportunity products. Our region has yet to receive the Wave 1 release and I did try to turn on the opportunity product enhanced function, but it makes no change whether it is on or off. My opportunity products have a couple custom fields, one being a due date and time, the other being assigned estimator. The assigned estimator is a user look up. I am being asked to create a flow that will look at the last created opportunity product and grab the estimator and due date and fill those fields on the newly created opportunity product with that information. 

I am a beginner and self taught, so I am hoping I can get any insight or help. Is this request even possible? As now I am finding information about flows not working on opportunity products but most of the articles/blog posts and whatnot that state that are years old. When messing in flow, I do have the option to select opportunity product, so I feel like this is something that could have been changed since then. If not, then is this something that can be achieved with a business process maybe? Again, any insight at all to get me started would be so appreciated!

Thanks!

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi corinnep,

    It is not difficult to create such a flow. First, we need to figure out one thing.

    "create a flow that will look at the last created opportunity product"

    Do you mean the last created opportunity product in its own opportunity, or in all opportunities?

    For example, the last created product in opportunity A was at 6 o'clock, and the last created product in opportunity B was at 7 o'clock. Then I created a new opportunity product in opportunity A. Will it grab opportunity A or B?

  • D365girl Profile Picture
    on at

    Hi Corinne,

    Thank you for asking your question on this community.

    If I understand your question right, something like this could be a starter (just clicked that together in 2 mins for illustrative purposes)

    pastedimage1589530707832v1.png

    Does that help?

  • corinnep Profile Picture
    20 on at

    Hello Hao,

    In your example, I would like the information to be grabbed from opportunity A. I do mean on its own opportunity.

    Thank you for your response!

  • corinnep Profile Picture
    20 on at

    Hello Tatjana,

    I will give that a try, thank you for your response it is VERY appreciated! :)

  • corinnep Profile Picture
    20 on at

    Tatjana,

    Is there a reason why I would not have the entity options "Opportunity Lines"  or "Existing Product"?

  • D365girl Profile Picture
    on at

    Can you check, if you are on the right Environment?

    pastedimage1589551080760v1.png

    If that doesn't help we could have a 10 minute Teams session and I'm pretty sure we can solve that

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi corinnep,

    Please refer to this flow.

    pastedimage1589787379689v1.png

    pastedimage1589787396727v2.png

    The logic of this Flow is that when an Opportunity Line is created, it traverses the two Opportunity Lines that have the same Opportunity as the created Opportunity Line and is latest, and updates the fields of the created Opportunity Line with their field values.

    The reason for traversing the two latest records is that the first latest record is the one created, so we need to find the second one.

    In addition, you reflect that there is no "Opportunity Lines" or "Existing Product" in your environment. This may be because the display names of these two lookup fields have been changed.

    "Opportunity Lines" is a display name, and the corresponding entity name is opportunityproduct.

    pastedimage1589787780393v3.png

    "Existing Product" is a display name, and the corresponding field name is productid.

    pastedimage1589787810885v4.png

    The display name can be changed, but the name cannot.

    Therefore, you need to find the corresponding display name according to opportunityproduct and productid.

  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    Please click Yes under "Did this answer your question?" to close this thread.

    Thanks.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans