While parsing, a send task configured with a connector gets denied by the process engine:
21:30:38.064 [main] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-09005 Could not parse BPMN process. Errors:
* One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on sendTask. | org/camunda/connect/plugin/ConnectProcessEnginePluginTest.testSendTaskWithConnector.bpmn20.xml | line 8 | column 69
I’ve looked at the code and the connector parsing is done in the connect-engine-plugin.
What is the best to solve this issue in the camunda platform?
Refactoring the engine parser, because he has some methods to delegate the parsing of send tasks to service tasks and the parselistener did not get invoked as expected?
Or is there another trick possible?
I would like to prepare a pull request.
Cheers, Ingo
ConnectProcessEnginePluginTest.testSendTaskWithConnector.bpmn (3.2 KB)