7 Managing Workloads Among Users in Process Workspace

Supervisors can use Oracle Business Process Management Workspace (Process Workspace) to view and update all tasks assigned to the users who report to them.

This chapter includes the following sections:

For information about troubleshooting human workflow issues, see Human Workflow Troubleshooting in Administering Oracle SOA Suite and Oracle Business Process Management Suite.

7.1 Managing the Availability of Users in Process Workspace

If a user is unavailable for a period of time and must delegate some or all assigned tasks to another user, then the user rules can automatically reassign the tasks based on certain conditions.

More specifically, if a user is going on vacation, then a vacation period can be associated with a rule to create a vacation rule.

For more information about creating user rules, see How to Create User Rules in Process Workspace.

For more information about setting a vacation rule, see How to Enable a Vacation Period in Process Workspace.

7.2 Distributing Work among Users in a Group

To distribute work among users in a group, create rules for that group.

Creating group rules is similar to creating a user rule, with the addition of a list of the groups that you, as the logged-in user, manage.

For information about creating user rules, see How to Create User Rules.

Examples of group rules include:

  • Assigning tasks from a particular customer to a member of the group.

  • Ensuring an even distribution of task assignments to members of a group by using round-robin assignment.

  • Ensuring that high-priority tasks are routed to the least busy member of a group.

For information about creating a group rule, see How to Create Group Rules.

7.3 Setting Rules

Rules act on tasks. These tasks can be a specific task type or all of the tasks assigned to a user or group.

Figure 7-1 shows where you set rules, including vacation rules (different from the vacation period settings described in How to Enable a Vacation Period in Process Workspace).

A rule cannot always apply in all circumstances in which it is used. For example, if a rule applies to multiple task types, it may not be possible to set the outcome for all tasks, since different tasks can have different outcomes.

Rules are executed in the order in which they are listed. Rules can be reordered by using the up and down buttons in the header, as shown in Figure 7-1.

If a rule meets its filter conditions, then it is executed and no other rules are evaluated. For your rule to be executed, you must be the only user assigned to that task. If the task is assigned to multiple users (including you), the rule does not execute.

You cannot specify business rules for To-Do tasks.

7.3.1 How To Create User Rules

Specify the following when creating a user rule:

  • Rule name.

  • If the rule is a vacation rule, see How to Enable a Vacation Period in Process Workspace, for how to set the vacation period that is synchronized with the vacation rule.

  • Which task or task type the rule applies to—If unspecified, then the rule applies to all tasks.

    If a task type is specified, then any attributes mapped for that task type can be used in the rule condition.

  • When the rule applies.

  • Conditions on the rule—These are filters that further define the rule, such as specifying that a rule acts on priority 1 tasks only, or that a rule acts on tasks created by a specific user.

    The conditions can be based on standard task attributes and any mapped attributes that have been mapped for the specific tasks. See How to Specify Mapped Attributes, for more information.

User rules do the following actions:

  • Reassign to—You can reassign tasks to subordinates or groups you manage.

  • Delegate to—You can delegate to any user or group. Any access rights or privileges for completing the task are determined according to the original user who delegated the task. (Any subsequent delegations or re-assignments do not change this from the original delegating user).

  • Set outcome to—You can specify an automatic outcome if the workflow task was designed for those outcomes, for example, accepting or rejecting the task. The rule must be for a specific task type. If a rule is for all task types, then this option is not displayed.

  • Take no action—Use this action to prevent other more general rules from applying. For example, to reassign all your tasks to another user while you are on vacation, except for loan requests, for which you want no action taken, then create two rules. The first rule specifies that no action is taken for loan requests; the second rule specifies that all tasks are reassigned to another user. The first rule prevents reassignment for loan requests.

To create a user rule:

  1. Click the Preferences link

    The Preferences pane is displayed.

  2. In the Preferences pane, click Rules.

    The corresponding pane appears in the middle of the screen.

  3. Click My Rules and then click Add.

    The My Rule pane appears on the right.

  4. In the My Rule pane, do the following and click Save:
    • Provide a name for the rule.

    • Select Use as a vacation rule if you are creating a vacation rule.

      The start and end dates of the rule are automatically synchronized with the vacation period.

    • Browse for task types to which the rule applies.

    • Select Execute rule only between these dates and provide rule execution dates.

    • In the IF area, add rule conditions.

    • In the THEN area, select actions to be taken: Reassign to, Delegate to, Set outcome to, or Take no action), as shown in Figure 7-2.

    The new rule appears under the My Rules node.

7.3.2 How To Create Group Rules

Creating a group rule is similar to creating a user rule, with the addition of a list of the groups that you (as the logged-in user) manage. Examples of group rules include:

  • Assigning tasks from a particular customer to a member of the group

  • Ensuring an even distribution of task assignments to members of a group by using round-robin assignment

  • Ensuring that high-priority tasks are routed to the least busy member of a group

Group rules do the following actions:

  • Assign to member via—You can specify a criterion to determine which member of the group gets the assignment.

    This dynamic assignment criterion can include round-robin assignment, assignment to the least busy group member, or assignment to the most productive group member. You can also add your custom functions for allocating tasks to users in a group.

  • Assign to—As with user rules, you can assign tasks to subordinates or groups you directly manage.

  • Take no action—As with user rules, you can create a rule with a condition that prevents a more generic rule from being executed.

To create a group rule:

  1. Click the Preferences link.

    The Preferences pane is displayed.

  2. In the Preferences pane, click Rules.

    The corresponding pane appears in the middle of the screen.

  3. Click the Other Rules tab.
  4. Select My Group from the list.
  5. Enter a group name and click Show Rules, or click the Search icon to search for a group name, then click Show Rules.

    If you search for a group name, then the Identity Browser dialog box opens for you to find and select a group.

  6. Select the group name under the Group Rules node and click Add New Rule, as shown in Figure 7-2.

    Figure 7-2 Creating a Group Rule

    Description of Figure 7-2 follows
    Description of "Figure 7-2 Creating a Group Rule"
  7. Provide group rule information and click Save.
    • Provide a name for the rule.

    • Browse for task types to which the rule applies.

    • Provide rule execution dates.

    • In the IF area, add rule conditions.

    • In the THEN area, select the actions to be taken (or none) (Assign to member via, Assign to, or Take no action), as shown in Figure 7-2.

    The new rule appears under the Group Rules node.

7.4 Setting Assignment Rules for Tasks with Multiple Assignees

If a task has multiple assignees, then assignment rules are not evaluated for the task, and the task is not automatically routed. This is because each of the task's assignees can define assignment rules, which can potentially provide conflicting actions to take on the task. Only tasks that are assigned exclusively to a single user are routed by the assignment rules.

For example, consider the following sequence:

  1. A rule is created for user cdickens to reassign all assigned requests to user jstein.

  2. User jcooper reassigns the allocated tasks to cdickens and cdoyle.

  3. Cdickens claims the task, and the task appears in their inbox.

The task is not automatically reassigned to jstein. The task is routed to jstein, following the assignment rule set for cdickens, only if user jcooper explicitly reassigns the task to cdickens alone, instead of reassigning the task to multiple users (cdickens and cdoyle).

7.5 Reassigning or Delegating Tasks in Process Workspace

Supervisors and users can reassign or delegate tasks.

A supervisor can reassign or delegate tasks to reportees. A user with BPMWorkflowReassign privileges can delegate a task to anyone.

To reassign or delegate a task:

  1. From the Task Actions list, select Reassign, as shown in Figure 7-3.

    Figure 7-3 Reassigning a Task

    Description of Figure 7-3 follows
    Description of "Figure 7-3 Reassigning a Task"
  2. Select Reassign or Delegate.

    Delegate differs from Reassign in that the privileges of the delegate are based on the delegator's privileges. This function can be used by managers' assistants, for example.

  3. Provide or browse for a user or group name, as shown in Figure 7-4.

    Figure 7-4 Reassigning a Task

    Description of Figure 7-4 follows
    Description of "Figure 7-4 Reassigning a Task"

    A supervisor can always reassign tasks to any of his reportees.

  4. Move names to the Selected area and click OK.

    You can reassign to multiple users or groups. One of the assignees must claim the task, as shown in Figure 7-5.

    Note:

    When task details have been upgraded from an earlier release, you can see a "Request Failed" error when executing the Reassign action. Actually, the reassign completes, and when you click OK again, a popup says the task is already assigned.

    To eliminate the error message, upgrade your taskflow applications by opening them in Oracle JDeveloper, then redeploy the task form.

7.6 Using Reports to Manage Workflows in Process Workspace

Reports are available on the Tasks page in the Reports panel. Report results cannot be saved.

Figure 7-6 shows the Reports panel displaying the standard report types available.

Figure 7-6 Oracle Business Process Management Workspace Reports

Description of Figure 7-6 follows
Description of "Figure 7-6 Oracle Business Process Management Workspace Reports"

For more information about reports, see Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite.

7.7 Using Dashboards to Manage Workflows in Process Workspace

Dashboards provide a variety of analytical information about the workload on users for the different processes being executed.

For example, if a specific user has many tasks assigned to her, and she is making little progress, this would indicate that all those corresponding processes are blocked. Having this information enables you to reassign those tasks to someone else and, if necessary some user or group routing rules can be specified to manage the issue in the short term.

For more information about dashboards, see Using Dashboards in Process Workspace.

7.8 Handling Escalations in Process Workspace

Escalations are among the system actions you can perform from the Task Details page. If a user escalates a task, it is automatically assigned to whomever is specified in the escalation path.

The escalation path is specified by the administrator. If no escalation path is specified, then the task escalates to the user's supervisor who can reassign it from there.

If a task is assigned to a role, but none of the role members have claimed the task, then the task is escalated as specified in the escalation path for that role. If the task is assigned to a role and a role member has claimed the task, then the escalation goes to the role member's supervisor.

For information about how an administrator specifies the escalation path, see How to Specify the Escalation Path for a Role.

For more information about the Task Details page, see Using the Process Workspace Task Details Page.