Difference between Activity and Collection in Pega?

AllJobsInfo

Administrator
Staff member
Collection rule has been designed for the rule engine processing and offers these benefits:

1. Function aliases can be used to make form easier to read and define.

2. Response actions implement common patterns without activities.

Use a collection to model business logic and implement common rule engine patterns. Collections define an ordered sequence of rules, the conditions under which they execute, and post-processing steps known as response actions. The business-friendly options on this form help you to quickly develop flexible solutions that are easily understood by various audiences

Collections can be very useful in Business Rules Engine (BRE) projects or in the BRE portion of a BPM project. Potential uses include:

Defining and maintaining a list of adjustments that determine the cost of a loan or insurance policy.

Defining and maintaining a list of decision rules that qualify or disqualify a loan dynamically, determining which rule caused the disqualification.

While activities sometimes appear to be a natural, general-purpose and flexible way to create business logic, activities can quickly become complex to analyse, debug, and maintain. The Collections feature provides a better way to model the orchestration and process behind both simple and complex business rule logic
 
Top