Does there exist a way to make 'Connector In' and 'Connector Out' fields have a compulsory script for every task?
I want my workflow designer to always use 'Connector In' and 'Connector Out' scripts at every station to check the inputs and outputs at the station. Is there a way to make a validation that checks this and prompts them accordingly?
If not, can I make an API call to the bpm so as to automatically make a boilerplate connector in and out groovy script whenever a new task is created?
There is currently no solution to force the configuration of a connector on all tasks in a process definition.
The best solution I can think of is to use a feature only available in Enterprise Edition: event handlers. With event handlers you can run some code for all newly available tasks or all tasks that are done. With Community Edition the only solution would be to duplicate connectors manually (with copy paste feature of the Studio). Of course connector configuration can be centralized with parameters or even by creating a custom connector implementation.
When my diagram is being validated before I run my diagram, is it possible to add API checks in the script to see if each node contains a connector?
Also, how can we centralize connector configuration?