JBoss Community

Re: How to delete existing BPMN processes from the guvnor repository

created by uvijayreddy657 in jBPM Development - View the full discussion

I replaced jar jsr311-api-1.0.jar to  jsr311-api-1.1.1.jar solved the URIBuilder Error Issue. Now I am able to delete the process from the guvnor repository using the following code snippet.

 

 

WebClient client = WebClient.create("http://localhost:8080/drools-guvnor/rest/packages/SDS/assets/"+ asset.getName(), "admin", "admin", null);

Response response = client.delete();

 

 

I hope this would help someone.

 

 

Thanks Tihomir.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community