Information Technology Reference
In-Depth Information
we can't use
is equal to
as the
Assignment Type
column, the only column we can
use for the third part of the assignment is the
To Object
column, where we have to select
the process variable we want to use as the target of the assignment.
The Service tasks
All the other tasks in our process are Abstract tasks. We'll learn how jBPM6 uses these
tasks as an extension point after we see another editor later in this chapter, so for the mo-
ment, we will only configure them as Script tasks, selecting that option in their
Task
Type
property. For the properties of these tasks, we will edit the
Script
property and
just write a simple piece of code to see whether the node is executed:
System.out.println(kcontext.getNodeInstance().getNodeName());
This will print out the node name through system output when the node is reached. This
can be done quite fast if you select all the tasks where you want to edit the same property.
The
Properties
panel will show only common properties between those tasks and allow
you to change their values at the same time. Skip adding the boundary events until we ex-
plain custom task types.