Databases Reference
In-Depth Information
Finally, specify the task action, which is to reassign the task to
rsteven
. Your rule
description should now look like the one shown in the following screenshot:
Finally, click on
Save
to create the rule. Once you have created the rule, try creating
two leave requests, one for
jcooper
and another for
rsteven
. You should see that only
the request created for
jcooper
is reassigned to
rsteven
.
Log in as
rsteven
, and select the leave request that has been reassigned to that user. If
you examine the full task history, you will see that it shows which rule was triggered
to cause the task to be reassigned.
A user can also specify rule conditions against the
content of the task payload through the use of flex fields,
as well as define rules for any groups that they own. We
will examine flex fields in
Chapter 17, Workflow Patterns.