How to remove Process Flow from Form?


Hi Partner,

Process Flow you mentioned is Business process flow?

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:

Regards,

Leah Ju

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



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here