Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to get multiple opportunity business process flow instances

(0) ShareShare
ReportReport
Posted on by 217

Opportunities can have multiple quotes.

So when you add a second quote to an opportunity, the second quote will not be part of a business process flow out of the box.

I tried to create a business process flow instance in a workflow.

My Workflow Definition:

After a new quote is created, count the number of workflow instances (with Workflow Tools) and if the number of business process flow instances is 0, then create a new business process flow instance.

My problem: The workflow seems to get fired BEFORE the out of the box business process flow instance is created by the business logic. So the count of instances in my workflow is always 0. That leads to the situation, that first my workflow creates an instance (because it looks as if there is none). And then the out of the box business logic also created the instance afterwards. Very annoying.

As a workaround I tried to have another workflow on the bpf instance that deletes the double instance, if the count is 0. But somehow i can not get it to work.

Any other ideas how to achieve that?

*This post is locked for comments

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at
    RE: How to get multiple opportunity business process flow instances

    Please mark as verified if the answer is helpful.

  • Suggested answer
    StefanS365 Profile Picture
    3,575 Most Valuable Professional on at
    RE: How to get multiple opportunity business process flow instances

    Hi Simon,

    If you want the second quote to be part of the business process flow, set the active stage back to the last stage of the opportunity (before the quote stage) and then select the second quote when going to the next stage.

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 > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans