[jboss-user] [JBoss jBPM] - Deploy workflow only when it doesn't exist

Stefan1509 do-not-reply at jboss.com
Mon May 25 05:23:19 EDT 2009


Is there a way to deploy a workflow (programmatically) only when the latest definition is different or doesn't exist yet? 

So something like:

  | if (!newProcessDefinition.equals(latestDeployedDefinition)){
  |  s_logger.info("Deploy Process Definition");
  |  context.deployProcessDefinition(newProcessDefinition);
  | }
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232984#4232984

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232984



More information about the jboss-user mailing list