Skip to main content

Notifications

Community site session details

Community site session details

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

Ensuring Business Process is used on Opportunities

(0) ShareShare
ReportReport
Posted on by 288

Hi Guys,

I've recently created a business process for my opportunity entity/ table to help the sales team to follow a consistent process while also capturing information that is required by our operations team should the deal be won.

I've made a number of the field required at the business process level but I still find that the sales team can close the opportunity won or lost without having completed each of the business process steps.

How do I ensure that the sales teams are using the process and how do I ensure that an opportunity can not be closed won or lost without all of the steps being completed?

Regards

Jason

  • Jason Fleming Profile Picture
    288 on at
    RE: Ensuring Business Process is used on Opportunities

    Hi Haig,

    I have created the workflow as outlined on the link above but i keep getting an error when trying to close an opportunity that contains all of the data I have asked to be populated.

    Here are the screenshots of my workflow and the error message im receiving. I had it broken out the same as the attached link but tried to change the workflow to see if it would work for me.

    pastedimage1673349312341v1.png

    pastedimage1673349380030v2.png

    Exception Message: Hi There are required fields missing. Please review the Emerging Sales Process and populate the missing data required before closing this deal.Chris Morrissey

    ErrorCode: -2147220891
    HexErrorCode: 0x80040265

  • Jason Fleming Profile Picture
    288 on at
    RE: Ensuring Business Process is used on Opportunities

    This is excellent and the link you sent me is exactly what I was looking for. I have created the workflow and tested it and it works. While I dont need to have the fields required in the process anymore (I will leave them required) if the data is not there the error will now appear. Brilliant, thank you so so much. This is going to make the sales teams life hell but it will ensure the data is correct in the future.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: Ensuring Business Process is used on Opportunities

    Hi Jason Fleming,

    Basically, You need to map it physically with the help of code or configurations. You should have a one-to-one mapping between status reason and stages. Is it require more details from me?

  • Verified answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    RE: Ensuring Business Process is used on Opportunities

    Hi Jason Fleming,

    You can change the status reason by following steps:

    pastedimage1672882530566v1.png

    expand entity

    pastedimage1672882627907v2.png

    pastedimage1672882661357v3.png

    Then you can setup the workflow:

       

  • Jason Fleming Profile Picture
    288 on at
    RE: Ensuring Business Process is used on Opportunities

    Thanks Abdul for this. This make sense. So I should be linking each stage of ,my process to a status reason. Where or how do I go about getting this in place. Im sure it was in place before the previous admin removed the sales process a number of years back. Here are the stag3es that I have currently in place. Should I be setting up a business rule to ensure the link is in place or a workflow?

    pastedimage1672872104858v1.png

    Thanks again.

  • Verified answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: Ensuring Business Process is used on Opportunities

    Hi Jason Fleming,

    This all should be validated on the server side. Usually, we used the status reason...

    Let's suppose you have the below stages in your business process flow

    1. Pending assessment
    2. Assessment
    3. Pending Design

    All these stages are mapped with the status reason. Let's suppose I also have the below status reasons

    1. Pending assessment
    2. Assessment
    3. Pending Design

    Add validations on the change of the status reason

    Let suppose

    1. When the record is in Pending assessment no one can change its status reason to Pending Design but can change it to Assessment.
    2. When the record is in Assessment no one can change its status reason to Pending Assessment but can change it to Pending Design.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

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

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

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans