2 Replies Latest reply on Jan 8, 2007 10:09 AM by Ansgar Thobe

    difference between node and task-node

    suresh kumar Newbie

      From userguide document i understand task-node used for assigning tasks and what are the process attributes required for that particular task-node.

      node is defined as performing some action and node has the responsibility of propagating from one node to other node.


      Any body can tell me the exact difference ??????????

      What is the exact use of node and task-node.
      i.e when we should use node and task-node.


      Thanks,
      skpeddi

        • 1. Re: difference between node and task-node
          Ansgar Thobe Newbie

          as far as i know, task-nodes are used to assign tasks to human actors. tasks are actions, which must be executed by a person.

          Nodes are used to execute actions by external systems ( it-systems) e.g. a database update....
          no human person is involved.
          an other difference is, that the node is no wait state ( unlike the task-node ).
          that means, that the processinstance execute the list of actions, which is defined for the node and direct leave the node. Therefore, you must tell the processinstance in one of the actions, which transtion should be taken ( node.leave("transition")) otherwise, the default transtion would be taken.

          I hope, i could help ( i know, my english is awful)

          • 2. Re: difference between node and task-node
            Ansgar Thobe Newbie

            sorry, i have to correct my posting.
            you must call the exectionContext.leave("transtion") method in the activty action handler to leave the node....