2 Replies Latest reply on Oct 5, 2005 12:38 PM by Jack OBryan

    TaskNode

    Jack OBryan Newbie

      I need to build my ProcessDescription from code. However, however I have been unable to add a TaskNode

      I can add everything except a TaskNode. For example:

      ProcessDefinition processDefinition = new ProcessDefinition();

      Node fork = processDefinition.addNode(new Fork("fork"));

      Node decision = processDefinition.addNode(new Decision("large"));

      Any advice on how best to add TaskNode to a ProcessDescription would be greatly appreciated.