IBM BPM, V8.0.1, All platforms > Manage assets in the Process Center repository > Manage the Process Center repository > Applying governance

Create a governance process for the status of a snapshot

You can create a governance process that reacts to the status change of a snapshot.

The System Governance toolkit (TWSYSG) contains the machinery required to build a governance process. The toolkit has integration services for installation and snapshot status, templates for business process definitions, and governance business objects.

When you create a snapshot or change status, an instance of the default Snapshot Status Change BPD from the System Governance toolkit is started. When a new snapshot of a process application or toolkit is created or when the status of a snapshot changes, a message event is triggered.

If you have created a governance process and bound to the snapshot event for the process application, you can use the governance process to track status changes and issue notifications.


Procedure

  1. Create a new process application. This process application will contain your snapshot governance process. (You cannot create a governance process in a toolkit. Only process applications can be used to create governance processes.)

  2. In Process Designer, add a dependency to the System Governance toolkit. You can see the System Governance toolkit in your list of available toolkits when you click the plus sign to add a dependency.

  3. Create a BPD. In the New Business Process Definition window, give the BPD a name that will be meaningful to potential users, and click the Select button to open a window where you can choose which governance template you want to use. For this governance process, choose the Snapshot Status Change template. Click Finish.

    The governance templates are only available for use with a process application when a dependency on the System Governance toolkit has been established. Once you save the BPD after making the governance template selection, the input variable, SnapshotStatusRequest, that has been set by the template cannot be changed.

  4. Using the template as a base, develop a BPD to meet your organization’s requirements. Add activities and email to customize the BPD to fit your governance requirements. See Enabling email for Process Portal notifications and the governance sample for IBM BPM V8.0.1 in the BPM Sample Exchange.


Results

When the governance process is complete, take a snapshot of the process application, label it, and set the status of the snapshot to "Released." Only a released snapshot of the governance process can be applied to a process application by an administrator.

Apply the new BPD as the governance process for process applications that you want to govern. See the related link to instructions for that task. A new BPD instance of your governance process starts whenever a new snapshot is created or the status of the snapshot is changed.

When the governance BPD from a released snapshot is in use for governance, users cannot change the status of the snapshot of the governance process until one of the following conditions is met:

When an administrator changes the association of any governance BPD, process instances already running continue to run, unless an administrator terminates the instance.

Applying governance to a process application


Related tasks:
Applying a governance BPD to a process application or snapshot
Migrating a governance process from V8.0.0
Create a governance process for installing a process application
Create a governance BPD that installs a snapshot when the status changes
Changing a governance application
Testing a governance process
Export and importing a process application that uses customized governance
Recovering if a process application under governance fails to install


Related reference:
Governance services


Related information:
Create a governance process for installing a process application