Delete DMN Definition

Hi,

Is there any way to Delete Definition of DMN in Camunda.
I have bpmn linked to a DMN, when i delete that BPMN using cascade option then all the version of BPMN gets deleted but it doesn’t delete a single dmn version associated with the BPMN.

I want DMN associated with it to get deleted as well. How can i do that?

@Niall any way to tackle this?

Hi @jatin,

you have to delete the deployment, which contained the decision definition: https://docs.camunda.org/manual/7.12/reference/rest/deployment/delete-deployment/.

Hope this helps, Ingo

Thanks @Ingo_Richtsmeier, just a small doubt.
I can delete bpmn with definition id, can’t i do the same with dmns?

Hi @jatin,

maybe nobody asked for it beforehand. Feel free to add a JIRA Ticket (https://jira.camunda.com/projects/CAM) with a feature request.

If you provide a pull request with a solution as well, the team is happy to review and accept it.

Hope this helps, Ingo

okay, i will raise a JIRA Ticket and if possible will try to contribute to the same.
Thanks @Ingo_Richtsmeier for detailed and quick analysis.

@Ingo_Richtsmeier or anyone else at Camunda. Can you please provide status or ETA of this feature request to delete dmn?

I took a look and there doesn’t look like we have an ETA on this feature but there is a work around described here: