Back ForwardUnderstanding covers — Concepts and terms

Concepts

Overview

A cover is a work object (in a concrete class derived from the Work-Cover- abstract class) that is also a parent to one or more related work objects (usually in a class derived from Work- class). Typically one work party — such as the customer party — is present in the cover work object and also present in all of the covered work objects. These objects are the children in a parent-child relationship.

Some Business Process Management materials refer to cases and case management, rather than the Process Commander term cover.

Benefits

A cover work object provides a means to coordinate processing of related work objects. In most applications, the system resolves a cover work object when all of its "member" covered work DYERJ 12/3/07

The cover facility has many practical benefits. For example, if a single customer request causes a user to create three separate work objects, these work objects may follow separate flows, be handled by separate departments, and not otherwise affect each other. The cover object provides a way to consolidate, view, and manage the outstanding service requests of this customer. After all three covered work objects become resolved, the cover work object can be resolved.

Using the cover facility is optional. You can use the PegaSample sample application to learn about covers and determine whether this feature is useful in your application:

  1. Open a WorkManager portal. Select the Process Work workspace.
  2. Select Sample Work as the current work pool.
  3. Enter a Customer Request object. These work objects are covers that can cover multiple General Task work objects.
  4. To enter the first covered work object, select General Task as the Issue.
  5. Select Add Work... and select General Task to enter a second and additional members of the cover.

Covering other cover classes

Case type rules enable you to nest cover objects within other cover objects in a parent-child hierarchy. This capability helps centralize flow processing and monitoring among multiple work types in large applications. You can nest any number of parent and child covers. You access attachments to covered work in a parent cover object. In a case management application, the rule lets you expand the scope of a top-level case (parent cover) by covering one or more subcases (child covers) and their children work types.

Covers as seen by application users

Work object forms support working with covers and its covered objects:

In the above example, the use of a case type rule enables C-13 to cover another cover, C-14. By convention, the work object IDs of covers have the format C-999999; basic work objects have the format W-99999. Your application need not follow these conventions.

Developer facilities for covers

Internally, a cover is a work object that is an instance of a concrete class derived from the Work-Cover- abstract class. Your system includes harness rules, flow action rules, and activities that support working with covers. The covered work objects can be of differing work types. However, the work type of the cover and the work type of the covered objects must all belong to the same work pool. CLINIC 11/15/05

Related PDN articles

See the Pega Developer Network article PDNPRKB-25838 Use one ticket to end a flow for both a cover object and its covered objects.

Definitions folder, Process Engine API, sample application, work object, work pool, work type
Related topics About Case Type rules
How to enable simultaneous multiple updates of covered work objects
Understanding work object IDs

Using work object forms
Standard rules Atlas — Standard properties in the Work-Cover- class
Atlas — Standard activities — Process Engine API
Atlas — Standard classes derived from the Work- base class

Up Concepts