Back Forward Working with the PegaRULES database — Tables for assignments

Working with the PegaRULES database

Three database tables normally contain assignments. Assignment instances are created when a flow execution reaches an Assignment shape (Assignmentin Process Modeler, or Assignment shape in Visio) in a flow. Assignment instances are deleted when a user or agent or other processing responds to the assignment by recording information, making and recording decisions, and adding attachments, or otherwise updating the work item, allowing the flow execution to continue.

Assignments routed to workbaskets are instances of the Assign-Workbasket class. In the initial PegaRULES database schema, this class is linked to the pc_assign_workbasket table. B-16400 indexes

The pzInsKey for rows of this table is formed by concatenating the values of the following properties:

For example, the pzInsKey value:

ASSIGN-WORKBASKET OTC-HR-PTO W-18!VACATIONREQUESTFLOW

identifies an assignment for the work item W-18 in the work pool named OTC-HR-PTO, created by a flow named VacationRequestFlow.

NoteThe workbasket name itself is not part of the key. Assignments for one workbasket can be accessed through an index. Indexes on the pc_assign_workbasket table speed reporting. B-16400 SR-1088

Definitions assignment, directed Web access, external assignment, worklist, workbasket
Related topics Atlas — Standard Report Definitions — Monitoring Assignments
Standard rules Atlas — Initial Database Table data instances
Atlas — Standard classes derived from the Assign- base class

HomeWorking with the PegaRULES database