Use of task node

From OpenKM Documentation
Revision as of 23:00, 14 January 2012 by Pavila (talk | contribs)

Jump to: navigation, search

Now we are going to see how you can create task in jBPM and assign them to actors who will perfom the task. Actors also can select a pending task and assign to himself.

First of let's create a process definition called "task" with an initial node, a task node and a end node:

As seen previously, a task node represents one or many tasks executed by a human person. When the process execution arrives to a task node, an task instance is created in the workflow member list. This node will enter in a wait state until the user notify the conclusion of the task.

In order to create a task in a task node, go to the properties of this node. In the tasks table click on the right mouse button and select New Task. Give a name to this task, for example "something_to_do" and a optional description. In the Assignment tab we can see different ways to assign a task:

  • Actor:
  • Pooled Actor:
  • Swimlane:
  • Expression:
  • Handler: