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

Announcements

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    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.

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    Please mark as verified if the answer is helpful.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans