Restrict Connection for Start event


Hi all,
I want to restrict more outgoing Connection from StartEvent . How to check that how many connections are made for an event in bpmnrules.js . Is there any default method to find that ?


You can add a custom rule and check for the number of outgoing connections:

if (shape.outgoing.length > 1) {
  return false;