Hi,
In the Camunda REST API and java API, it seems pretty straight-forward to delete a process definition from the repository, e.g. RepositoryService.deleteProcessDefintion({id}).
Is there no equivalent method to similarly remove case definitions from the repository using either the REST or java API?
Is there an expectation that there would only be one case definition per deployment and that if you want to remove it you have to delete the entire deployment containing the case definition?
I am new to using these API’s so any help is appreciated.
With the current feature set you have to remove the entire deployment to get rid of a case definition. It makes sense to have a #deleteCaseDefinition API, though. Please let us know if you would like to contribute this.
Thank you for the reply Thorben. I came to the same conclusion but wanted confirmation.
It appears as if there are a lot of differences in the way CMMN is managed vs. BPMN - with BPMN providing a richer API. The CMMN API, and the Camunda java API as a whole, could benefit from a standardization across modelling/definition types. Although I would love to be able to contribute I think that it is above my current capabilities.