Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

BPF does not change depending on the lead type

Posted on by 790

dear all

i do have two different Lead forms, linked to two opportunities and two BPF's , the problem is that when creating a new lead of any type , then the BPF does not change, and same thing happens when creating new opportunities, BPF stays the same.

although i did change the Process Flow Order and i changed the security roles but nothing worked.

Note: one user can fill and process both types of leads/opportunities.

2018_2D00_11_2D00_04-14_5F00_38_5F00_55_2D00_Lead_5F00_-New-Lead.png2018_2D00_11_2D00_04-14_5F00_38_5F00_19_2D00_Lead_5F00_-New-Lead.png

thanks,

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: BPF does not change depending on the lead type

    Hi Ahmad,

    As mentioned above, you need to write javascript to achieve the same. If you want to load BPF based on form type, then you need to first get the form type selected and then based on that change the BPF.

    The above link from Gautam should help to change the BPF. Refer below to get the form type details from jscript:

    docs.microsoft.com/.../formcontext-ui-formselector

    Hope this helps.

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: BPF does not change depending on the lead type

    Hi Ahmad,

    Try with this -

    rajeevpentyala.com/.../switch-business-process-flow-using-jscript-based-on-crm-forms-field-value

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans