We’re implementing BPMN parsers and we are wondering in which points BPMN parsers are executed.
We know they are executed during deployment (for new and update process definitions)
But in cases of starting a new process instance? Is a BPMN parser executed?
Thx for your quick reply. After a deeper investigation, a colleague found out that BPMN parsers are as well triggered while getting Process definitions (ProcessDefinitionResourceImpl.getProcessDefinitionBpmn20Xml()).
They are used in method GetDeploymentProcessModelCmd.execute(), where class DeploymentCache is used (and eventually calling all BPMN parsers).
So, they are used in Create/ReDeploy REST API, as well in /process-definition/{id}/xml, and probably any other method where RepositoryServiceImpl.getProcessModel() is used.