Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to remove Process Flow from Form?

Posted on by

I created a new form from a copy of the Case form but the process flow is showing up.  How do I remove it?

  • RE: How to remove Process Flow from Form?

    I deactivated it under Process and it seems to have disappeared from the form.  Thank you for your help.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to remove Process Flow from Form?

    Hi partner,

    The BPF can't be hidden in the form when you deactived it, it will still be displayed on the form, just with a pop-up box.

    pastedimage1627608125310v1.png

    If you want to remove it and don't want to view it, you need remove the BPF from current app.

    Go to Apps to open app designer.

    pastedimage1627608289737v2.png

    Navigate to Business Process Flow:

    pastedimage1627608375291v3.png

    Uncheck the BPF you don't want.

    pastedimage1627608416387v4.png

    Save and publish.

    Test:

    pastedimage1627608576413v5.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • RE: How to remove Process Flow from Form?

    Thank you Leah.  If I don't need the Business Process flow on any form, could I deactivate it, and then it won't show up?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to remove Process Flow from Form?

    Hi Partner,

    Process Flow you mentioned is Business process flow?

    2068.pastedimage1627527800048v1.png

    Once the activated BPF has been added to the app, it will show all forms of the entity, you can’t remove it from only one of form.

    But you can try to hide it based on current form with js code.

    For example, i want hide process in the case form that label is 'Case':

    function hideProcess(executionContext) {
        var formContext = executionContext.getFormContext();
        formName = formContext.ui.formSelector.getCurrentItem();
        if (formName == 'Case') {
            formContext.ui.process.getVisible(false);
        }
    }

    Test Result:

    3581.pastedimage1627528247196v3.png

    4300.pastedimage1627528264456v4.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans