Hello,
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
formContext.getAttribute("processid").setValue(Guid.Empty);
}
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.
formContext.ui.process.setVisible(bool);
Abhilash Warrier
100
Super User 2025 Season 2
Suresh Kulla
72
Super User 2025 Season 2
Daniyal Khaleel
57