Skip Headers
Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management
11g Release 1 (11.1.1.6.0)

Part Number E15176-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

B Modifying Running Process Instances in Process Workspace

This chapter describes how to alter the flow of running process instances in Oracle Process Workspace. It also describes how to migrate instances in Oracle Process Workspace.

This section contains these topics:

B.1 Altering the Flow of Running Process Instances in Process Workspace

You can move the token of a running process instance from the current activity to another. You can also update the payload before moving the token to the other activity.

B.1.1 How to Alter the Flow of Running Process Instances in Process Workspace

To alter the flow of a running process instance:

  1. From the Process Tracking tab page, select a process instance. The details of the selected process instance appear.

  2. From the Actions list, select Alter Flow and Suspend.

    The Grab Process dialog box appears as shown in Figure B-1.

    Figure B-1 Altering the Flow of a Process Instance

    Description of Figure B-1 follows
    Description of "Figure B-1 Altering the Flow of a Process Instance"

  3. In the Grab Process dialog box, you can do any or all of the following:

    1. In the Changes table, associate each current activity with a new one from the New Activity list. Note that the New Activity list includes only those locations to which a token can be moved validly.

    2. In the Variables box, select a payload, then click Edit. In the Edit Variable dialog box, change the value of the variable and click OK.

    3. In the Comments field, add any comments.

  4. Click one of the following:

    • Save to suspend the process instance. You can return to it later to alter its flow and resume it.

    • Resume to move the token to another activity and return the process to a running state.

    • Cancel to return the process instance to its last saved state. The process continues in the running state.

Note:

  • If you have opened the Grab Process dialog box and the session times out before you have taken any action, then the process instance is suspended.

  • If an activity has more than one running tokens associated with it, you cannot alter the flow to select and move just one of the tokens to another valid target activity. If you alter the flow for that open activity, then all the tokens move.

B.2 Migrating Process Instances in Process Workspace

If a version is updated with a new implementation of that same version, then you can migrate the instances to the new implementation rather than allowing them to go stale. You can use this functionality, for example, after a bug fix.

B.2.1 How to Migrate Process Instance in Process Workspace

You can migrate a process instance in either of two ways:

  • Migrate as is: Migrate the instance without moving the token or updating the payload

  • Make changes and migrate: Move the token to the next activity you specify, and update the payload as you specify, then migrate the instance.

To migrate process instances:

  1. Select one or more process instances. From the Actions list, select Migrate. The Migrate dialog box appears.

    The elements in this dialog box change depending on your selection. If you select Migrate as is, only the Comments field is available. If you select Make changes and migrate, the Migrate dialog box appears as shown in Figure B-2.

    Figure B-2 Migrating a Process Instance

    Description of Figure B-2 follows
    Description of "Figure B-2 Migrating a Process Instance"

    If you select Make changes and migrate, you can do any or all of the following:

    1. In the Changes table, associate each current activity with a new one from the New Activity list.

    2. If you have selected no more than one process instance, change the value of the variable. To do this: In the Variables box, select a payload, then click Edit. Then, in the Edit Variable dialog box, change the value of the variable and click OK.

    3. In the Comments field, add any comments.

  2. Click one of the following:

    • Save to keep the process in the pending migration state.

    • Migrate to migrate the process and will put it in the running state.

    • Cancel to return the process instance to its last saved state.

B.2.1.1 Resuming a Suspended Component

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, then the affected components go into suspended state. To resume a suspended component, either migrate or suspend process instances that are in the pending migration state.

Unless you resume the component—either explicitly or automatically when all pending migration instance are resumed—the new task instances are not created as a result of the token having been moved. This applies whether the token was moved as a result of altering the flow or from a task action on a running instance.

All suspended components are listed in the Pending Components panel.

To resume a suspended component:

  1. From the Pending Components panel, select the component you want to resume. The Resume Component dialog box appears. It tells you how many instances are suspended for that component.

  2. In the Resume Component dialog box, choose whether you want the pending migration process instances to be:

    • Migrated as is

    • Suspended

    If there are instances that cannot be migrated-as-is, and you want to resume the component, then select Leave non-migrated instances as suspended. If you do not select this option, and there are instances that cannot be migrated as-is, then the component can not be resumed..

  3. Click Resume. The component is resumed and it no longer appears in the Pending Components panel. A new process instance can now be initiated.