1 Reply Latest reply on May 25, 2009 10:33 AM by Ronald van Kuijk

    Deploy workflow only when it doesn't exist

    Stefan Droog Newbie

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