cancel
Showing results for 
Search instead for 
Did you mean: 

Repository service delete deployment reg

vram
Champ in-the-making
Champ in-the-making
Hi,

I am calling the  Repository service deletedeployment() method as :

RepositoryService rs = processEngineRef.getRepositoryService();

rs.deleteDeployment(name, cascade);


I am  providing the right name . But after the execution , I do not find the records deleted. There are no exceptions either.

Am I missing anything here?
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
You should delete by deployment-id rather than name…

vram
Champ in-the-making
Champ in-the-making
Thanks frederikheremans ….That was very helpful….