This is how we are working around for this issue..
| You can get the list of process definitions deployed with given process def name.. | | List<ProcessDefinition> processDefList = repositoryService.createProcessDefinitionQuery() | .processDefinitionName(processDefName) | .orderDesc(ProcessDefinitionQuery.PROPERTY_VERSION) | .page(0, 1).list(); | | loop through it to get highest version.. | | Long version = processDefList.get(0).getVersion() | | now compare above version with a property file having process definition and version number as key value pair. | | If they match, don't do anything, else go ahead and update deployment. | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245672#4245672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245672 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
