Home » Posts filed under Activity
How to write a java code in an activity?
What is a step page what role does it play in an activity?
Step Page in activity
Routing activities in pega
ToCreateOperator
ToWorkbasket
Activity Page methods in pega
Page-Copy method
What is the difference between Call and Branch in an activity ?
What is the difference between Call and Branch?
Call
The Call instruction calls another specified activity and executes it. When that activity completes, control returns to the calling activity.
Activity Property- methods in pega
Property-Set method
Property-Set-Message
Pega Activities complete understanding
Pega remove duplicates from activity and data transform
Byusing Pega functions like “RemoveDuplicatesInPageList”, pzRemoveDuplicatesFromListPage and pzRemoveDuplicatesFromListPage
We can use both the functions in Data Transform and Activity.
What is the difference between parameters and local variables? How are they used in an activity?
Values stored in parameter values can be shared between two activities but the scope of local variables is confined to the activity in which they are declared.
Parameters can be referenced as Param. parameter name.
Local variables are referenced as Local. variable name. more on Activities
Pega RDB Methods
RDB Methods:
Use Connect SQL rules and RDB methods only with an external database. Do not use Connect SQL rules or RDB methods for the PegaRULES database(s). Because not all properties in the PegaRULES databases are distinct database columns, use the Obj-Open and Obj-Save methods, not the RDB- methods, with the PegaRULES database to prevent loss of data.
Pega Obj Methods
Obj Methods:
At runtime, five methods (Obj-Browse, Obj-Filter, Obj-List, Obj-List-View, and RDB-List), list view rules, and summary view rules use a page of the class Code-Pega-List
Code-Pega-List class as a source of search criteria and to hold the output. Typically, such pages are named Results, pyQueryResultPage, or pyViewLookupList. Search results (which support rows of report output) are stored as pages in the pxResults() property, a Page List.
Activity End and Exit Activity methods in pega
Activity-End method?
Use the Activity-End method to cause the system to End the current activity and all calling activities.
Pega standard Work object creation activities
Work-. Add
Creates a new work object (without any cover work object) and performs a Commit method, which saves the work object and releases all locks.
Work-.AddWork
Use Work-.and work rather than Work-. Add in situations where the Commit method is not wanted until later.
AddCoveredWork
Creates a new cover work object but does not perform a Commit method, so current locks are retained.
Work-.AddCovered
Use Work-.AddCovered rather than Work-.AddCoveredWork to commit the new work object.
New
Called by harness processing to create a (non-covered) work object and display the work object form.
NewCovered
Called by harness processing to create a covered work object and display the work object form.
more on activities Activity Full understanding