Community

Update Deployment Resource

reply from Maurizio Trifici in jBPM Development - View the full discussion

Hi,

 

I'm using JBPM 4.2 and gwt-console 1.0 (but customized). I have implemented the method updateDeployment into ProcessEnginePluginImpl in this way:

 

 

public String updateDeployment(String id, boolean versioning, String processName, String jpdl, int codabi) {
     RepositoryService repoService = this.processEngine.getRepositoryService();
     if (!versioning) {
          repoService.updateDeploymentResource(id, "string.jpdl.xml",
          new ByteArrayInputStream(jpdl.getBytes()));
          return id;
     } else {
          return createDeployment(processName, jpdl, codabi);
     }
}

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community