Skip to main content



No record found.

Customer Service forum
Suggested answer

Prevent Business Process Flow from starting a creation of case

Posted on by 10


I do not want a business process flow to begin when a case is being created. I created a web resource and added it as an on load event but I still see the business process flow. I think the problem is my code. Can someone please take a look?

function BypassBPFForCaseFormOnLoad(executionContext) {

formContext = executionContext.getFormContext();

if(formContext.ui.getFormType() === 1)
// Set value


  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Prevent Business Process Flow from starting a creation of case

    Hi Partner,

    Maybe you can try to hide the BPF when create the new record.

    Using process.setVisible API to onload event to achieve it. 

    Shows or hides the business process control.



Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans