Hello everyone,
I’m working on a big project using Camunda as the bpm engine and me and my team are currently trying to optimize the script usage in the task listeners of the bpm’s user task activities.
I have a doubt to be clarified regarding the external script usage and I’ll be exposing here a sample scenario to ask you if it is possible to do it and how.
Scenario:
We deploy the bpmn process along with some scripts, let’s say the deployment files are:
- test.bpmn
- scriptA.js
- scriptB.js
I want to know if it is possible to have a user task activity using a single task listener with an inline script which will call scriptA and scriptB (inside this single inline script).
If not possible, is it possible to use scriptA as external script and call scriptB inside scriptA? How?
I’m looking forward to hearing your opinion, thank you guys.