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

    difference between node and task-node

    skpeddi

      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
          asmo

          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
            asmo

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