CMMN Java API

Does anyone know if there are Java API calls to delete CMMN (and DMN) definitions?

I can see that on the RepositoryService interface there is a “deleteProcessDefinition” call that I can use to delete a BPMN definition, however I can’t see an equivalent call for CMMN or DMN’s.

For example, I can use this to delete a process definition by it’s ID, and need the same for the other types:

processEngine.getRepositoryService().deleteProcessDefinition(processDefinitionId, true, true);

Thanks Steve

Hi @steve,

you have to delete the deployment with the cmmn- or the dmn diagram.

Hope this helps, Ingo

1 Like

Thanks Ingo, I’ve implemented the code and just need to run our test cases to confirm it works OK. I’ll report back asap…