1 Reply Latest reply on May 25, 2009 10:33 AM by kukeltje

    Deploy workflow only when it doesn't exist

    stefan1509

      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);
      }