Thanks for the reply Tihomir.
The code fragment which you posted is almost same what I posted in my previous one. However this code is not deleting the process from Guvnor repository.
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community