3 Working on Process Instances in Process Workspace

Process owners can use Oracle Business Process Management Workspace (Process Workspace) to initiate and cancel process instances, search, view details, associate comments and attachments, perform bulk operations, and customize the presentation of process instances.

3.1 Initiating Process Instances in Process Workspace

To initiate a process instance, you begin with the Applications panel located at the top of the navigation pane.

To initiate a process:

  1. In the Process Tracking page, in the Applications panel, click the process you want to initiate.

    The dialog box for that process instance appears.

    Note:

    If your browser has pop-up blocking enabled, then enable pop-ups for task flow servers; otherwise the application does not launch and the dialog box does not appear.

  2. Create any comments or add any attachments.

    To add a comment:

    1. In the comments section, click Create. The Create Comment dialog box appears.

    2. Enter your comment and click OK. The comment is added at the process level.

    To add an attachment:

    1. In the Attachments section, click Add. The Add Attachment dialog box appears.

    2. Select the attachment type.

      If you select Desktop File, a dialog box enables you to enter the path name of the file or browse to find it. If you select URL, you are prompted for the name of the file and the URL.

    3. After you have specified the attachment, click OK. The attachment is added at the process level.

    The process instance is initiated and is assigned to you as the initiator.

3.2 Searching for Process Instances in Process Workspace

You can perform either a basic search or an advanced search for process instances. This section contains the following topics:

3.2.1 How to Perform a Basic Search for Process Instances

For a basic search, you enter all or part of the name of a process instance in the Search field.

To perform a basic search for a process instance:

  1. Select the Process Tracking page.
  2. In the Search field, enter all or part of the name of the instance for which you are searching.

    Note:

    the search results are based on the Description column of the Process Tracking page.

  3. To retrieve a list of all instances, enter a percent sign (%).

    Search results are displayed as shown in the example in Figure 3-1.

    The Details section displays the priority, process name, when the instance is due to complete, status, creation time, and the assignee.

    If the process instance has any gateways resulting in multiple threads (paths) that are still running, the Open Activities section display the status of each thread.

    The History section displays audit information—in either tabular form, tree view, or graphically depending on your selection.

3.2.2 How to Perform an Advanced Search for Process Instances

You can perform a search based on one or more conditions as per your specifications.

To perform an advanced search for a process instance:

  1. In the Process Tracking page, click Advanced.

    The Advanced Search dialog box appears.

  2. From the Processes list, select each of the processes you want to include in the view.
  3. From the Assigned list, select one of the following: Anyone, at any Role; Anyone, at any Role in the process; Me, or unassigned in my Role(s); All instances I participated on; or All instances I am a reviewer.
  4. From the Status list, select one the following:

    Table 3-1 Add View Status List

    Status Description

    All

    Displays all instances.

    All Open

    The work items displayed include all instances that have the following status: In Process, Pending Migration, Suspended, and Errored.

    In Process

    The work item is active; it has not reached the end of the process.

    Completed

    The work item reached the end of the process.

    Aborted

    The work item is no longer active, and did not reach the end of the process.

    Errored

    The work item has thrown an exception during processing.

    Pending Migration

    The work item is awaiting migration to a new implementation.

    Suspended

    The work item is in suspended state. An item is suspended if a new implementation of the same composite revision is deployed, and the previously deployed composite has some components with the newer BPM process definition.

  5. Click OK.

3.3 Viewing the Details of a Process Instance in Process Workspace

The ability of a user to see process instances depends on the user's roles.

Table 3-2 maps the various roles to their corresponding levels of visibility.

Table 3-2 Visibility into Process Instances

Role Visibility into Process Instance

Administrator—that is, a user with the WorkflowAdmin role or the Administrator role

Can see all information related to all process instances.

Process owner

At any given time, can see the instance details of the process instance.

User with a swimlane role

Can see any unassigned instance associated with that role.

Task assignee

Can see the instance details of that task.

To view the details of a process instance:

In the Process Tracking page, select an instance from the process instance list. The Work Item Details panel opens in the lower right section of the page as shown in Figure 3-1.

Figure 3-1 Work Item Details Panel

Description of Figure 3-1 follows
Description of "Figure 3-1 Work Item Details Panel"

For information about the Work Item Details panel, see Navigating the Process Workspace Process Tracking Page.

You can also use this panel to create comments and add attachments as described in Associating Comments and Attachments with a Process Instance.

3.3.1 Viewing History

The History section of the Work Item Details panel includes audit details, which can be displayed in three different ways - in a list view, a tree view, or a graphical view. Select the view from the drop-down list in the upper left corner of the History as shown in Figure 3-2.

Figure 3-2 Selecting the History View

Description of Figure 3-2 follows
Description of "Figure 3-2 Selecting the History View"

You can select the type of activity, sub-process, gateway, or event you want to view. To do this, select from the list at the top of the History section as shown in Figure 3-3.

Figure 3-3 Selecting Activities for History Details

Description of Figure 3-3 follows
Description of "Figure 3-3 Selecting Activities for History Details"

If you are an administrator or process owner, and if the selected activity includes an input or output payload, then you can display the input or output message for that activity. To do this, select the activity, then click either Input Message or Output Message, The message appears in a pop-up as shown in Figure 3-4.

Figure 3-4 Displaying Activity Input and Output Messages

Description of Figure 3-4 follows
Description of "Figure 3-4 Displaying Activity Input and Output Messages"

3.3.2 Associating Comments and Attachments with a Process Instance

You can associate comments or attachments with process instances.

3.3.2.1 To associate a comment with a process instance
  1. From the worklist, select the process instance with which you want to associate a comment.
  2. In the details panel, in the Comments section, click New.
  3. Enter your comment and click OK.
3.3.2.2 To associate an attachment with a process instance
  1. From the worklist, select the process instance with which you want to associate an attachment.
  2. In the details panel, in the Attachments section, click New. The Add Attachment dialog box appears.
  3. In the Description field, optionally enter a description for the attachment.
  4. In the Filename field, enter the path to the file, or click Browse to navigate to it.
  5. Click OK.

Note:

  • If you add an attachment to a process instance, and later delete it from the corresponding task, then the attachment is also deleted from the process instance.

  • In an environment with servers clustered for high availability purposes, file uploading is not supported in the event of a failover. If the active server shuts down, then the uploading process is not assumed by the other server, and the upload fails.

3.4 Performing a Bulk Operation in Process Workspace

You can perform Cancel as the only available bulk operation.

To perform a bulk operation:

  1. In the Process Tracking page, from the process instance list, select several instances.

    In the Instance Details panel, a message indicates how many instances are currently selected to be processed. Also, the Actions list is updated with the options that can be performed over the group of instances that were selected.

  2. Select the operation in the Actions list. The selected operation is performed on the instances you specified.

3.5 Canceling a Process Instance in Process Workspace

Only process owners can cancel a process instance.

To cancel a process instance:

  1. From the Actions list at the end of the row for the instance you want to cancel, select Cancel.
  2. Select the instance, and from the Actions list on the toolbar of the Process Tracking page, select Cancel.

3.6 Customizing the Presentation of Process Instances in Process Workspace

A presentation is the column arrangement used when viewing instances in the Work Items panel. You can use an existing presentation or create a new one to be associated with that view. You can choose the columns that are presented in any view displayed in the Work Items panel.

To customize the presentation of a process instance:

  1. From the Views panel, select the view whose presentation you want to customize. The view is displayed in the Work Items panel.

  2. From the Work Items toolbar, click Edit Presentation. This displays the Presentation dialog box in which you can select and sort the columns in your presentation.

  3. From the Available Columns list, select the columns you want to include in your view and move them to the Presentation Columns list by clicking the right arrow.

  4. To sort the columns:

    1. Select an individual item in the Presentation Columns list.

    2. Move it into place by using the vertical arrows to the right of the list.

    3. Repeat for each column you want to sort.

  5. Click OK.

Note:

The Work Items panel displays process instances in two places: in the Process Tracking page and when using the Standard Dashboards page. You can customize the presentation of this panel as it appears in both places. However, if you first change the presentation in the Process Tracking page, and then change the presentation in the Standard Dashboards page, the latter configuration overrides whatever presentation you have configured in the Process Tracking page. When you navigate back to the Process Tracking page, the presentation is what you configured in the Standard Dashboards page.