Question
CGI
IN
Last activity: 12 Dec 2019 9:43 EST
Pro & Con of Collection over Activity
Using Pega 7.2.2
Please let us know the Pro & Con of Collection over Activity. If possible with scenario.
Any reference article or Link
Thanks in Advance
***Updated by moderator: Lochan to update platform capability***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Wipro Technologies
IN
Hi Rajasekhar,
Below link may help you to understand about collections.
https://docs-previous.pega.com/understanding-collections-process-721
https://docs-previous.pega.com/pega-collections-guide/pega-collections-technical-overview
2. Response actions( implement common patterns without activities) and function alias(Function aliases can be used to make form easier to read and define) support provide structure and extensibility making the rules easier to configure, understand and delegate.
3. Features like rule referencing, execution tracking and dynamic function parameters can be used to solve common rule engine requirement more elegantly.
https://community1.pega.com/community/pega-product-support/question/collection-vs-activity
https://collaborate.pega.com/question/pro-con-collection-over-activity
Thanks,
Viswa
Pegasystems Inc.
FR
Hello,
I guess you already seen what the help file is presenting: 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.
Creating a collection is like creating a service for your application I would say. So for example you know you have entries and in order to get the result back you need to call a specific set of rules in a dedicated order. This when a collection could be interesting.
You really need a specific business scenario I believe. Sorry if I wasn't clear enough.
CGI
IN
Thanks Marc.
Gone through help and understand example you provided above.
Comparing {i.e. Pro & Con} of Activity and Collection. If you can help in getting comparison of Activity and Collection.
Best Regards....
Pegasystems Inc.
FR
Well,
It is always a bit difficult to discuss the collection subject without a good business scenario.
But you cannot really compare an Activity with a Collection. An activity is usually set to achieve a specific task and set to call specific other activities for example.
Where you could have multiple collections using different activities on completely different order if you need to from one to another.
CGI
IN
Thanks for your response. Can you please elaborate.....
CGI
IN
Regarding Pro & Con of Collection over Activity. Please share if you have any thing other then below help details
"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"
Thanks in Advance.........
Accepted Solution
Wipro Technologies
IN
Hi Rajasekhar,
Below link may help you to understand about collections.
https://docs-previous.pega.com/understanding-collections-process-721
https://docs-previous.pega.com/pega-collections-guide/pega-collections-technical-overview
2. Response actions( implement common patterns without activities) and function alias(Function aliases can be used to make form easier to read and define) support provide structure and extensibility making the rules easier to configure, understand and delegate.
3. Features like rule referencing, execution tracking and dynamic function parameters can be used to solve common rule engine requirement more elegantly.
https://community1.pega.com/community/pega-product-support/question/collection-vs-activity
https://collaborate.pega.com/question/pro-con-collection-over-activity
Thanks,
Viswa
CGI
IN
Thanks for your resposne.
Below links are talking about "Collection" Process, i.e. not about Collection rule.
https://community.pega.com/knowledgebase/documents/understanding-collections-process-721
https://community.pega.com/knowledgebase/articles/pega-collections-technical-overview
Staidlogic
US
Benefits
Collections can be very useful in Business Rules Engine (BRE) projects or in the BRE portion of a BPM project. Potential uses include:
Benefits
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 analyze, debug, and maintain. The Collections feature provides a better way to model the orchestration and process behind both simple and complex business rule logic.