jatin
May 18, 2020, 8:32am
1
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?
jatin
May 18, 2020, 1:22pm
2
@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
jatin
May 18, 2020, 1:58pm
4
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
jatin
May 18, 2020, 2:58pm
6
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?
Niall
August 18, 2021, 10:02am
8
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:
I created and deployed a decision table onto the Process Engine for my project. Now, I would like to delete the decision table. Is there something like a deleteDecisionDefinition like there is a deleteProcessDefinition for a process definition. If not, how can I delete a decision definition ?
Thanks.