AnsweredAssumed Answered

How to delete a single ProcessDefinition

Question asked by jagudin on Jan 28, 2011
Latest reply on Feb 1, 2011 by jbarrez
Hello,

Is there a way to delete a single ProcessDefinition having his processDefinitionId?

I need to delete ProcessDefinitions, only if not exist ProcessInstances associated to the ProcessDefinition that i want to delete.

I don't want to remove the whole deployment using:

RepositoryService.deleteDeployment(java.lang.String deploymentId, boolean cascade)

I need something like:

RepositoryService.deleteProcessDefinition( processDefinitionId )

Thanks in advance,

jagudin

Outcomes