| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Administering: Defining Task Assignment |
|
Administering the Sun Business Process Manager Database
Using the Sun Business Process Manager Worklist Manager for User Activities
Creating the Worklist Manager Database
Creating a Web Service Definition
Configuring the WorkList Manager
Configuring Task Assignment Fields
Maintaining Sun Master Indexes (Repository)
Working With the EDM for Sun Master Patient Index
Working With the EDM for Sun Master Index
Working With the Master Index Data Manager
Maintaining Sun Master Indexes
After the BPs are created and configured, you need to connect to the LDAP server and configure the user activity. To configure a user activity, you create expressions that define which users are assigned to a task under specific conditions. You can optionally define automatic task escalation and email notifications for user activities. The task assignment panel also provides a Sun VPD page mapper so you can expose values generated by the user activity to the Sun VPD page flow.
Note - One default expression is defined in the expression list, which cannot be deleted. This expression is used when no conditions defined for any other expression evaluate to true. At a minimum, you must configure the default expression by assigning a user to the expression; otherwise, BP validation will find a fatal error and you will be unable to deploy.
The flow of a specific task is defined by an expression. You can define multiple expressions for each user activity, each defining the conditions under which a task is assigned, the users to whom it is assigned, and what happens once the task is assigned.
The Worklist Manager window appears, as shown in Figure 7.

A new expression appears in the expressions list.
Conditions define how an activity is evaluated for user completion. The Conditions tab of the Worklist Manager window includes a Method Palette, similar to that of the Business Rule Designer. This step is required for all but the default expression.
The Condition page appears, as shown in Figure 8.
Figure 8 illustrates an example of using methods on the Condition page.

In this step, you can create either static or dynamic assignments for the user activity. With static assignments, you specify the users to whom tasks will be assigned when the conditions you defined on the Condition page have been met. To do this, you must connect to a running LDAP server. With dynamic assignments, you specify a field in the incoming data that contains the name of the user to whom that task is assigned. You do not need to connect to the LDAP server to create this assignment. This step is required for all expressions. If a user activity includes an expression with no users assigned, the BP will fail validation.
The Assignments page appears, as shown in Figure 9.

The LDAP connection properties dialog box appears.

The left panel of the Assignments page is populated with the roles, groups, and users defined in your LDAP directory.
The Assignments page changes to display attributes, as shown in Figure 11.

Note - Modify the properties to suit your LDAP implementation.
|
The Worklist Manager provides the ability to automatically escalate tasks based on either a duration of time or a deadline. When escalation is based on duration, the task can be escalated repeatedly. When it is based on a deadline, the task is only escalated once.
For duration-based escalation, the timer starts when a task is added and when a user checks in, reassigns, or escalates a task. If the specified duration passes without the timer stopping, the task is escalated to all unique managers of the assignee. The timer stops when a task is checked out or completed and when the task has been escalated as high as it can go.
For deadline-based escalation, the timer starts when a task is inserted. The task is only escalated if the timer does not stop prior to the deadline. The timer stops when a task is checked out, completed, or manually escalated. The timer also stops when the deadline is reached and the task is escalated.
Defining task escalation is optional.
The Timeouts page appears, as shown in Figure 12.

Figure 13. specifies that the task must be completed in just under one week before it is escalated.

Figure 14 specifies that the task must be completed before midnight on the last day of February, 2007.

Using the Page Flow Mapper, you can expose values generated by the user activity to the associated Sun VPD pages. For example, if you map the assignedTo field, pages can be built that display the name of the task assignee.
The mapper has a Method Palette from which you can select methods to manipulate the data in the mapping.
Exposing user activities to Sun VPD pages is optional.
The Page Flow Mapper page appears, as shown in Figure 15.

You can specify that certain users receive email notifications during different stages of task completion. For example, you might want to notify both the assignee and their managers when they are assigned a task. You can define email notifications for all types of task activities, including assignment, reassignment, escalation, check-ins, checkouts, and completion. This task is optional.
To define email notifications, complete the following tasks:
Make sure that the LDAP entry for each user assigned to user activity tasks includes an attribute that defines their email address.
Define email notification for tasks as described below (under Define Email Notifications for Tasks).
Configure the Worklist Manager External System in the Environment:
Define the email properties (described under Defining Email Notification Properties).
When configuring the LDAP connection properties, specify the name of the LDAP directory attribute that contains each user’s email address (this is described in Configuring an OpenLDAP Connection, Configuring a Sun Java System Directory Server Connection, or Configuring a Microsoft Active Directory Connection).
The Email Notifications page appears, as shown in Figure 15.

For more information about this property, see Figure 21, , or Figure 23 (depending on the type of LDAP directory you are using).