PegaGang
  • Home
  • Blog
    • Us
  • Contact US

When to create activity rules in Pega PRPC BPM

9/24/2016

Comments

 
​Activity rules provide you with one way to automate the processing of work using a procedural, program-like approach, without requiring Java skills or manually entering Java code. An activity is presented as a series of steps, with some of the same features as an object-oriented programming language—such as iterations or conditions.

While to some who have programming experience, activities appear to be a natural, general purpose and flexible way to create rules, activities can quickly become complex to analyze, debug and maintain.

Accordingly, use activities only when there are no other, more appropriate rule types. For example, instead of using a series of activity steps, use a Declare Expression rule to calculate declaratively, rather than procedurally.

Similarly, use a when rule, decision table, map value rule, decision tree rule, or parse rule whenever these rule types capture the business requirements well.

Even when you determine that an activity rule is appropriate, remember that Process Commander includes dozens of useful standard activities that apply to the @baseclass, Work-, Assign-, or History- classes. Don't create an activity in your application when you can call a standard activity to perform the needed processing.

When writing activities, keep the following best practices in mind:
  • Keep activities short. Limit activities you create to fewer than 25 steps.
  • Limit hand-coded Java. Avoid Java steps in activities when standard rule types, library functions, or activity methods are available. Reserve your valuable time and Java skills for implementing things that do not already exist.
Comments

    Categories

    All
    Case Management
    Case Type
    Concepts And Terms
    Flows
    Integration
    New In Pega 7.2
    Pega 7 New Features
    Pega Mobile
    Pega RPA
    RDA
    RPA
    User Interface

    Archives

    October 2020
    March 2018
    January 2018
    November 2017
    June 2017
    March 2017
    December 2016
    November 2016
    October 2016
    September 2016

    Categories

    All
    Case Management
    Case Type
    Concepts And Terms
    Flows
    Integration
    New In Pega 7.2
    Pega 7 New Features
    Pega Mobile
    Pega RPA
    RDA
    RPA
    User Interface

    RSS Feed

Services

Training
​Job Support
Hire our Experts

Courses Offering

Pega System Architect ( CSA ) 8.4
Pega Senior System Architect ( CSSA ) 8.4
Pega Lead System Architect ( CLSA ) 8.4
Pega Business Architect ( PCBA / CPBA 8.4
Pega Decision Consultant ( CPDC ) 8.4
Pega Marketing Consultant ( CPMC ) 8.4
Pega Data Scientist ( CPDS )  8.4
Pega UI Specialist ( PCUIS )
Pega Testing 
​Pega Administation




Company

About PegaGang
What is Pega 7
​
Customers Reviews

Support

Contact
FAQ
Terms of Use

Address

​India 
Nizampet Rd, Jai Bharat Nagar, Nagarjuna Homes, Kukatpally, Hyderabad, Telangana 500090
​
USA
Greater New York City Area
New York -14624
​United States
Picture
© Copyright 2011 - 2020. All Rights Reserved.
​
PegaGang all rights reserved. All PegaGang training materials is proprietary content of PegaGang. We Dont Use / Distrubute /  provide / Install Pegasystems Materials and Softwares. PegaGang is not an affiliate of Pegasystems. PEGA is a trademark of Pegasystems. Pegasystems is not the publisher of the training material and is not responsible for it in any aspect.
  • Home
  • Blog
    • Us
  • Contact US