e2ebridge / bpmn

BPMN 2.0 execution engine
467 stars 138 forks source link

Qusestion #7

Open ymranx opened 10 years ago

ymranx commented 10 years ago

Why there should be a 'JS' file specific to a process to contain handlers? If I design a new process do I need to create handlers for that process too?

Lukas815 commented 9 years ago

Yes there must be a js handler for the execution of the process, too. So the engine executes your script in the corresponding process step. You can give the handler to the bpmn engine as js file or as a string. The handler must fit to the events, tasks and gateways of your process model. You find some examples in the readme.