Breaking News

Thank You for visiting us, This website changed to www.TechNaandi.com , please go here we will update more concepts for you as soon as possible

Introduction To Activities In PEGA || What is Activity in PEGA ?


In PEGA Activities are automatic processing rules, activities contain a sequence of steps that can be performed in instructed order. Activity rules automate the system when more appropriate rules are not available .once the Activity is completed, control returns to the rule called Activity.

Activities Best Practices

* Keep the activities in short. Limit your activities to fewer than 25 steps.
* Whenever possible use alternative rule types, such as a data transform to set a property value.
* Limit hand-coded JAVA. Avoid JAVA steps in activities when standard or custom types, library functions or activity methods are available.

Method

Each activity step must specify a method that describes the action the system takes. Each method accepts one or more parameters that allow you to pass necessary information, such as the name of property and value to set.

Step Page

A step page is the page in memory on which method is processed. By default, the activity executes within the context by which it is called. For example, an activity is called from a utility shape during case processing executes against the page assigned to a case type (pyWorkPage).

Action Activities

Activities execute steps in numbered order.Loop,When,Jump indicate the action or condition for an action when you want to repet steps or alter the sequence in which steps execute.

Calling Other Activities

Activities can call other activities, allowing a developer to create modular activities and potentially reuse the standard activities.PEGA platform provides 2 methods for running another activity as Call & Branch.

Call

PEGA Runs the specific activity the control retuns to the calling activity when the called activity process completes.

Branch

PEGA runs the specified activity,but control returns to the rule that called the first activity.The original activity ends when the branch activity is complete.

Paramaters

Paramaters make activities more reusable by allowing you to pass arguments when the activity is called,rather than upfront during developmet.
* Activity paramaters are defined on the Paramaters tab on the activity form.
* Paramater names and values are help on a special clipboard page,known as paramater page,whic is not visible with the clipboard tool.

Security

Under Security Tab in an activity you can specify the type of activity and restrict how can activity is called.Restrict access,restricts the user at runtime and Activity Type limits how developers can use the activity.

in Next post you can learn how to configure an Activity -->>>>

Post a Comment

2 Comments