Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

How to check active business process flow and active stage in opportunity?

(0) ShareShare
ReportReport
Posted on by 38

Hello,

 

We created two business processes flow in opportunity, one of them converts leads to opportunities and other starts just in opportunity.

 

We need to check active business process flow and active stage, witch are on opportunity now. And we need to create list of opportunities with checked them active business process flow and active stage.

We know how to look active business process flow and active stage individually in the opportunity record, but it does not fit. We need to check this in the all opportunities without opening records.

 

Maybe there is some field in which the active business process flow is stored?
Can we use some system functional for this goal?

  • Anna Melnychenko Profile Picture
    Anna Melnychenko 38 on at
    RE: How to check active business process flow and active stage in opportunity?

    Hello Leah,

    Thank you for advice.

    This BPFs (in your screen) have not different stages and field Pipeline Phase can show Stages, which can be on both BPFs.

    In my case I have 4 BPFs with diferent Stages.

    Your unswer is useful.  But unfortunately I think in my case could be better use code for showing active stage and active bpf.

    Best regards,

    Anna Melnychenko

  • Anna Melnychenko Profile Picture
    Anna Melnychenko 38 on at
    RE: How to check active business process flow and active stage in opportunity?

    Hello Kalpana!

    Thank you for your answer.

    It's real good idea, we will try to realize this.

    I think it's can be useful if we have two or more BPFs with different stages.

    Best regards,

    Anna Melnychenko

  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Partner,

    Have any updates?

    Please feel free to contact me if you have any questions!

    Could you click 'Yes' under title to close the thread if my answer is helpfu!

    Thanks in Advance! :)

  • Verified answer
    KalpanaNadar Profile Picture
    KalpanaNadar 45 on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Anna Melnychenko,

    PFB post to check active bpf stage id without opening the CRM record they are able to get the active stage.

    www.c-sharpcorner.com/.../

    Hope this helps!

    Thanks & Regards,

    Kalpana Nadar

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,077 Super User 2024 Season 1 on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Anna Melnychenko,

    If you want to see the active stages of the opportunity then instead of finding it in the opportunity table. Find them in the business process flow table.

    If you have two business process flows then create a Dashboard with two list views or charts and solve your problem instead of adding a new column, logic etc. These are my thoughts.

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Partner,

    Through my test, i found that 'Pipeline Phase' field can show active stage of current BPF.

    --Lead to Opportunity Sales Process:

    pastedimage1676872633046v3.png

    pastedimage1676872882545v4.png

    --Switch to another BPF: Opportunity Sales Process

    pastedimage1676872925421v5.png

    pastedimage1676872976073v6.png

  • Anna Melnychenko Profile Picture
    Anna Melnychenko 38 on at
    RE: How to check active business process flow and active stage in opportunity?

    Thank you very much for your answer.

    It`s really useful information about checking Stages of BPF.

    Do you know what we need to do with this field when we have two or more BPFs?

    I think this field can show information about Stages only one BPF.

    Maybe we need to sett some process.

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Partner,

    In Opportunity, we can use the OOB "Pipeline Phase" field:

    When an opportunity moves through the stages of its business process flow, the pipeline phase is set to a value in the form of {StageCategoryIndex} - {CategoryName}.

    --You can 'Edit columns' to add the column to the opportunity view:

    pastedimage1676513888003v1.png

    But it's hard to check current active BPF on the view.

    Maybe you need create one custom field on the opportunity, then use js code to populate the field automatically.

    --https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/formcontext-data-process/process/getname 

    var process = formContext.data.process.getName();

  • Anna Melnychenko Profile Picture
    Anna Melnychenko 38 on at
    RE: How to check active business process flow and active stage in opportunity?

    Thank you for your answer, but we know about these tables and field "Active Stage". 


    pastedimage1676484758220v1.png

    For example, we should have some field on the view, which shows Active BPF in opportunities.

    And our question is: How to fill this field or we have system field for this goal? 

    Thank you in advance!

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,077 Super User 2024 Season 1 on at
    RE: How to check active business process flow and active stage in opportunity?

    Hi Anna Melnychenko ,

    With each business process flow (BPF), there is an associated table. You have two BPFs which means two tables.

    These tables are having details of the active stage and association of the table on which it is working. For more details: learn.microsoft.com/.../business-process-flows-overview

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans