Beruflich Dokumente
Kultur Dokumente
Activities % of Exam: 5%
Definition
Activities are the primary processing rules in Process Commander.
Provides procedural processing functionality
Category: Technical
Activity Concepts
For an activity in the Work- class or a class derived from Work-, the Activity Type
field (on the Security tab) of an activity determines whether it can be used in a
flow shape. A value of Utility, Connect, Assign, Notify, or Route indicates
that the activity can be referenced directly in a flow task of the corresponding
type.
Use the Call instruction to cause the current activity to find another specified
activity and execute it. When that activity completes, control returns to the calling
activity.
The calling activity can provide input parameters to the called activity, or it can
share its own parameter page with the called activity, an approach known as call-
by-reference.
Activities in a Flow
Assignment Activities
o These standard Work- activities have an Activity Type of Assign. They
can be used in the Assignment task, represented by the Assignment shape (
) in Visio.
o Standard Activities of type Assignment:
External
Creates an external assignment, an instance of the Assign-
External class (or a subclass of this class), part of the
Directed Web Access facility
WorkList
Creates a normal assignment (Assign-Worklist class) added
to a user's worklist
WorkBasket
Creates a normal assignment (Assign-Workbasket class)
added to a workbasket. If the workbasket doesn't exist, the
assignment can be routed to the current user.
Integrator Activities
o Integrator task activities have an Activity Type of Connect. They can be
used in the Integrator task, represented by the Integrator shape ( ) in
Visio.
o Because these tasks involve external systems, no standard rules have this
type. Consult Integrating with External Systems 5.2 for more information
about connectors.
Notify Activities
o These standard Work- activities have an Activity Type of Notify. They can
be used in the Notify task, represented by the Notify shape ( ).
o Standard Activities of type Notify:
Notify
o Page-Copy
Copies the contents of one page into another on the clipboard
o Page-Remove
Removes a page from the clipboard
The contents of the database are not affected
Best practice to remove paged when no longer needed
o Show-Page
Used to view the contents of the clipboard pages to help solve
problems
Property-*
o Property-Set
Sets the value of one or more properties
Can set properties to:
Literals using quotes
o Property-Map-*
Property-Map-Decision-Tree
Calls a Decision Tree rule and loads the returned result into
a specified property
Property-Map-Decision-Table
Calls a Decision Table rule and loads the returned result
into a specified property
Obj-*
o Obj-Open
Opens an object from the database and loads it onto the clipboard
in the specified Step Page
Searches the appropriate data using the specified class and
properties
o Obj-Browse
Browses database for instance of classes & loads them to clipboard
as an array of embedded pages
o Obj-Save
Update PegaRULES or other database with information in the
clipboard
o Obj-Delete
Deletes an object in the database and can optionally delete the
same object from the clipboard
Step Pages
Step Pages Identify the page on which the step is to act
If left blank the step acts on the primary page of the activity
If the step is to contain a Call or Branch to another activity, identify the page
that is to become the primary page of the called activity (unless it is the same
as the current activity's primary page). The class of that page must match the
Applies To key part of the activity
The Pages and Classes Tab is used to Identify Step Pages and the associated
classes used in the activity
Primary Page is a clipboard page loaded with the same class as the activity
Testing Activities
Unit Testing can be done on an activity by the Run toolbar button ( )
The Tracer can also be used to test the activity in context.