Activity is a ruletype in pega consist of sequence of steps which are executed in order to perform a particular task. Activity are used mainly for background processing.

Instance of Rule-Obj-Activity.

EG:

send an email when the registration is completed send a birthday mail to all customers at midnight 12.00 AM Create a new operator as the part of the case

Definitions to know:

  1. For Each Top Level Page: It is found in clipboard under user pages. (EG: pyWorkPage)
  2. For Each Page : Used for Page List and Page Group.
  3. For Each Value list/grp
  4. For Loop: Same As Java.
  1. First define any parameter in the Parameters Tab and to set any value you can define as param.parametervalue.

In an Activity you can Use Stepstatus fail/good to exit an activity. (use jump)

Primary:

You should primary when the step pahe is changed in an activity.

Eg: Step Page : pyWorkpage then

.BillingAddress.State = .ShippingAddress.State