JBoss Community

Re: jBPM 4 - Deploy only if ProcessDefinition changed or new

created by Michael Wohlfart in jBPM - View the full discussion

hi rapa,

maybe this works for you:

 

ProcessDefinitionImpl processDefinition = repositorySession.findLatestProcessDefinitionByName("myProcNameHere");
String deploymentId = processDefinition.getDeploymentId();

Reply to this message by going to Community

Start a new discussion in jBPM at Community