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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Removing/Hiding Business Process Flows from Forms

(0) ShareShare
ReportReport
Posted on by 70

We have multiple forms on the Case entity and want business process flows on some forms and other forms we do not want them to show/appear/be used. Is this possible? If so, how?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    Please deactivate those BPFs in the Settings->Customization -> Customize the System

    then Process. Select the Business Process Flow and click the Deactivate button at the top.

    It should not show up for the new records. It would still show up for the old records.

  • Jason Miller Profile Picture
    70 on at

    We can't deactivate them as we want to use them on some forms on the entity. just not all forms on the entity.

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    You can apply Security Roles to BPF.

  • Verified answer
    Andreas Cieslik Profile Picture
    9,267 on at

    Hi Jason,

    referring to this article:

    technet.microsoft.com/.../dn531164.aspx

    the only way to control the flows would be the security roles. So you would need to define security roles for each form and BPF to control the availability of BPF for each form.

    Cheers,

    Andreas

  • Jason Miller Profile Picture
    70 on at

    Thanks! I have come across articles referencing security roles...I still don't see how to do that: When I go to the BPF, click on Enable Security Roles, I only see options (I think) to totally delete the SRs which I don't want to do...

  • Verified answer
    Andreas Cieslik Profile Picture
    9,267 on at
  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    If you want to quickly go through about Security Role.

    crmbook.powerobjects.com/.../security-roles

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Jason,

    You could write the following javascript code on load of the form.

    function HideOrShowBPF() {
        var formName = Xrm.Page.ui.formSelector.getCurrentItem().getLabel();
        if (formName == "Form1") {
           Xrm.Page.ui.process.setVisible(false); //Hide Business Process Flow
        }
        else if (formName == "Form2") {
           Xrm.Page.ui.process.setVisible(true);  //Show Business Process Flow                                                
        }
    }

    Hope this helps.

  • Suggested answer
    Rajat Awasthi Profile Picture
    675 on at

    Hi Jason ,

    You can do this by security roles . Since Case forms will also have some sort of security roles .

    You can go to that particular role --> Open that role --> Click on Business Process Flows Tab .

    You will see all your BPF's there. Grant the privileges according to your requirement.

    Please mark as verified if this helps you.

  • Community Member Profile Picture
    on at

    Hi,

       Apply Security Roles to the Forms you desired to have  and to the BPF.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans