Professional Documents
Culture Documents
Pega Files 1to20
Pega Files 1to20
Pega Files 1to20
Property-Set
------------
-->By using Property-Set Method in a activity we can set the values to
class Properties
Page-New
---------
-->By Using Page-New method in a activity we can create "new Page" in a
Clipboard under "User Pages".
Primary Page
------------
1.RunRecordPrimaryPage
2.pyWorkPage
3.SamplePage(User Defined Page)
Note:By using "Call" we can call from one activity to another activity.If
we use the "Call",After Completion of Sub Activity execution it will come
to current activity and execute remaining methods after "Call" Method.
Note:By using "Branch" we can call from one activity to another
activity.If we use the "Branch",After Completion of Sub Activity
execution it will end the Current activity and sub activity means it
will not execute any methods after "Branch" method
GetCustomer Activity
How to pass the Parameter values from one activity to another activity
----------------------------------------------------------------------
-->We need to check the "Pass Current parameter page" check box under
"Call Or Branch" methods.Before "Call or branch" we need to set the
Parameters by using Property-Set methods.
Note:We can not see the Parameter and Local Variable values in a
Clipboard. we can see the Parameter and Local Variable values in a
"Tracer".
Property-Set-Messages
----------------------
-->By using Property-Set-Messages method in a activity we can set the
error messages in a Property Level.
Page-Set-Messages
-----------------
-->By using Page-Set-Messages method in a activity we can set the error
messages in a Page Level.
Ex1:Screen1
Ex2:Screen1
Screen2
Ex5:State : AP TS KA TN MH DL
Ex6:Employee Info
Product Info
@DateTimeDifference(@DateTime.dateValue(.DateOfBirth),@DateTime.today(),'
Y')
Ex12:Purchase Date is More than 30days then i want to show the error
message:Your not eligible to raise complaint.
a=10
a=20
3/8/22
Data Transforms
---------------
-->If we want to set the values to class properties or If we want to set
the values to class properties based upon when conditions or To copy the
Data from One Page Property to Another Page Property or To Copy the Data
from one PageList Property to Another PageList Property or To copy the
Data from Page Property to Another PageList Property or If we want to
loop the List PageList Property Results or If we want to sort the
PageList Property results in the form of assending order or decending
order or If we wan to loop the List of Page List Results then we can go
for Data Transforms.
1.Set
------
-->If we want to set the values to class properties then we will select
under "Action" to "Set"
Property-Set
------------
-->By using "Property-Set" method in a activity we can set the values to
class Properties.
2.Remove
--------
-->If we want to remove the Property Values or Pages or Pagelist
properties from Clipboard then we can use the "Remove" Action.
Property-Remove
---------------
-->By using "Property-Remove" method in a activity we can Remove the
Property values from Clipboard.
Page-Remove
------------
-->By using "Page-Remove" method in a activity we can Remove the pages
from Clipboard.
3.Update Page
-------------
-->If we want to copy the Data from One Page Property to Another Page
Property then we can use the "Update Page" Action.
Page-Copy
----------
-->By using "Page-Copy" method in a activity we can opy the Data from One
Page Property to Another Page Property.
4.Apply-Datatransform
---------------------
-->If we want to call the one data transform to another data transform
then we can use the "Apply-DataTranform" action
5.Sort
-------
-->If we want to sort the PageList Property results in the form of
assending order or decending order then we can use the "Sort" Action
Obj-Sort
---------
-->By using Obj-Sort method in a activity we can sort the PageList
Property results in the form of assending order or decending order.
1000 CustomerList
Customer ID Customer Name Customer age Location
6.Comment
----------
-->If we want to Provide the Purpose of the Data transform or Steps then
we use the "Comment" Action.
8.Append to
-----------
-->If we want to Copy the Data from one PageList Property to Another
PageList Property or copy the Data from Page Property to Another PageList
Property then we can use the "Append to" Action
-->If we use the "Append to", Target and Source Properties should be same
class.
-->If we use the "Append To", it will copy all the Values from Source
Property to Target Property at a time.
Ex:PolicyList 10 policies
10%
Ex: BOI-Hyderabad-Sale-Bank5-Work-HomeLoan
SetCustomerDetails DT Customer Name:Kiran Customer Age:34
Location:Hyd
BOI-Hyderabad-Sale-Bank5-Work
BOI-Hyderabad-Sale-Bank5
SetCustomerDetails DT Customer Name:Raju Gender:Male
Phone: 3545456
BOI-Hyderabad-Sale
Ex: BOI-Hyderabad-Sale-Bank5-Work-HomeLoan
SetCustomerCareInfo DT Homeloan CustCare Num Email ID
BOI-Hyderabad-Sale-Bank5-Work-PersonalLoan
SetCustomerCareInfo DT Personal CustCare Num Email ID
BOI-Hyderabad-Sale-Bank5-Work-CarLoan
SetCustomerCareInfo DT CarLoan CustCare Num Email ID
BOI-Hyderabad-Sale-Bank5-Work
SetCustomerCareInfo DT CustCare Num Email ID
4/8/22
Data Transforms
---------------
Note:If we want to access one class Properties into another class then we
can create "Page or PageList or page group" properties.
Ex1.Bank Name:ICICI
Rate of Interest:12
Processing Fee:2
Bank Name:SBI
Rate of Interest:13
Processing Fee:1
Bank Name:HDFC
Rate of Interest:11
Processing Fee:1
Rate of Interest:14
Processing Fee:2
Ex2:Billing Address
AddressLine1:
AddressLine2:
District Name:
State Name:
Zip Code:
Shipping Address
AddressLine1:
AddressLine2:
District Name:
State Name:
Zip Code:
Ex3:Dependent Infomration
Add Dependent
Ex4: Screen1
Screen2
Ex5:Screen1
10 DependentList
Screen2
Name:
Age:
Date of Birth
Relation
Page PageList
pyWorkPage---------->DependentList
5/8/22
Data Transforms
---------------
-->By using "pxExecuteAnActiivty" pega ootb function we can call the
Activity in a data transform.
Q)How to Set the Error Messages by using Data Tranforms?
Ans)1.By using "pxAddMessageToProperty" pega ootb activity we can set the
error messages in a Property level by using Data Transform.
Ex:@pxExecuteAnActivity(Primary,pxAddMessageToProperty)
2.by using "pxAddMessageToPage" pega ootb function we can set the
error messages in a Page level by using Data Transform.
Ex:@pxAddMessageToPage("Based Upon Current Salary,Your not Eligible for
Home loan",Primary)
Ex1: Screen1
Screen2
Name:
Age:
Date of Birth
Relationship
Note:IndexInPageList()
Ex:@IndexInPageList("true",".pySelected",pyWorkPage.DependentList)
Functions
---------
1.subString()
2.trim()
3.WhatComesAfterFirst()
4.WhatComesAfterLast()
5.WhatComeBeforeFirst()
6.WhatComeBeforeLast()
Email ID:parjun.pega@gmail.com
1
2
3
Failed
4
5
Success
6
7
Failed
8
9
10
100 Customers
95 23 45 67 Custoemrs(95)
Customers(16).CustomerAge
Customers(16).CustomerName
Customers(16).CustomerID
Customers(16).Location
SamplePage.FirstName
SamplePage.LastName
DependentList(Param.Index).Name
DependentList(2).Name
6/8/22
after 2months
Customer Searchv1.1
Customer Searchv1.2
Bank5:01-01-03:
Check Out
---------
-->Whenever we want to modify the any existing open ruleset version rule
then we need to "check out".
Check In
---------
-->Whatever we did the changes in our "Check out" mode, if we want to
publish your changes to all others users(Developers or Users) then we can
"Check In".
Discard
-------
-->Whatever we did the changes in our "Check out" or "PrivateEdit"
mode,If we dont want those changes then we can "Discard".
PrivateEdit
-----------
-->If we want to modfiy the locked version rule in your "PrivateEdit"
mode then we can do the changes in "PrivateEdit"
Delete
------
-->Whatever we created the rule,if we dont want that rule then we can
"Delete".
Save As
-------
-->if we want to modify any locked rule set version rule then we need to
"Save As" same rule to any open ruleset version rule.
ValidateCustomerDetails rule:01-01-01
8/8/22
Rule Availabilty
-----------------
-->Rule Availabilty will define "whether we can use the rule or not at
the run time".
Ex:CustomerDetails:01-01-01,02,03,04,05
2.Not Available
----------------
-->If rule availabilty is "Not Available",that rule is Not available to
particular ruleset and ruleset version.
Ex:CustomerDetails:01-01-01,02,03,04,05
3.Final
--------
-->If rule availability is "Final", we can not change or we can not
override the same rule.
4.WithDrawn
-------------
-->If rule availabilty is "WithDrawn",that rule is Not available to
Current ruleset version and lower versions of current ruleset version.In
case Same rule is available under inherated classes then it will call
from inherated classes .
BOI-Hyderabad
CustomerDetails:01-01-01
5.Blocked
---------
-->If rule availabilty is "Blocked",that rule is Not available to Current
ruleset version, lower versions of current ruleset version and inherated
classes lower versions also not available.
Ex:CustomerDetails:01-01-01,02,03,04,05 BOI-Hyderabad-Sale-Bank5-Work-
PersonalLoan
BOI-Hyderabad-Sale-Bank5-Work
BOI-Hyderabad-Sale-Bank5
BOI-Hyderabad-Sale
CustomerDetails:01-01-01,02
BOI-Hyderabad
BOI
Class Inheritance
-----------------
-->Class Inheritance is a nothing but "Calling a rules from Parent class
to child class".
BOI-Hyderabad-Sale-Bank5-Work-Homeloan X rule
BOI-Hyderabad-Sale-Bank5-Work-PersonalLoan
BOI-Hyderabad-Sale-Bank5-Work-Claim
BOI-Hyderabad-Sale-Bank5-Work-Onboarding
BOI-Hyderabad-Sale-Bank5-Work-CarLoan
BOI-Hyderabad-Sale-Bank5 Z rule
BOI-Hyderabad-Sale
BOI-Hyderabad
BOI S rule
BOI-Hyderabad-Sale-Bank5 Z rule
BOI-Hyderabad-Sale
BOI-Hyderabad
2.Direct Inheritance
---------------------
Framework Level Class
Ex:BOI-Fw-Bank5-Work
Work-Cover-
Work-
@baseclass
Explanation
-----------
When we are running the Application,PEGA first it will check whether
rules are available in a Pattern inheritance classes or not.If rules are
available under Pattern inheritance classes then it will call from
Pattern inheritance class otherwise it will check with Direct
Inheritance.If rules are available under Direct inheritance classes then
it will call the rules from Direct inheritance classes.
Pattern inheritance first it will check whether rules are available
under Class Group level child classes or not. If rules are available
under Class Group level child classes then it will call the rules from
Class Group level child classes other wise it will check with parent
classes.If rules are available under Parent classes then it will call
from parent classes otherwise it will check direct inheritance classes.
Direct Inheritance first it will check with framework level
class or not.If rules are avaialable under framework level class then it
will call the rules from framework level class otherwise it will check
pega provided predefined classes like "Work-Cover,Work- and @baseclass".
Major-Minor-Patch
01-01-01,02 03 04 05 06 LOCKED
9/8/22
Application Inheritance
------------------------
-->Application Inheritance is a nothing but "calling a rules from
Framework application to implementation Application".
Rule Authorization
------------------
--->Rule Authorization will define whether we can access the rules or not
at run time.
Explanation
------------
Step1:Whenever we are running the APplication,PEGA will check whether
rules are available under Rule cache or not.
Ex:15 rules 10 rules 5 rules
1st Way
--------
Step2:If rules are available under Rule Cache,Pega will check whether
rule availability is "blocked or not".Whatever rules are "blocked",it
will discard those rules and process the remaining rules.
Ex:10 rules 2 blocked
Step3:Pega will check whether user is authorized to use the rules or not
at the run time.Whatever rules are not authorized ,it will discard those
rules and process the remaining best rules at the run time
2nd Way
-------
Step1:If rules are not available under Rule Cache,pega will find the list
of Matching rules.
Step2:Pega will check whether rules are following "Application
Hierarchy(Application Inheritance)".Whatever rules are not following
""Application Hierarchy",it will discard those rules and process the
remaining rules.
Ex:8 rules 2rules
Step3:Pega will check whether rule availability is "Not Available or
not".Whatever rules are "Not Available-",it will discard those rules and
process the remaining rules.
Ex:6 rules 1 rule
Step4:Pega will check whether rule availability is "WithDrawn or
not".Whatever rules are "WithDrawn",it will discard those rules and
process the remaining rules.
Ex:5 rules 1 rule
Step5:it will check whether rules are following "Class Hierarchy(Class
Inheritance),Ruleset Hierarchy and circumstance".Whatever rules are not
following "Class Hierarchy(Class Inheritance),Ruleset Hierarchy and
circumstance",it will discard those rules and process the remaining
rules.
Step6:Pega will place remaining rules in a rule cache.
Step7:Pega will check whether rule availability is "blocked or
not".Whatever rules are "blocked",it will discard those rules and process
the remaining rules.
Ex:10 rules 2 blocked
Step8:Pega will check whether user is authorized to use the rules or not
at the run time.Whatever rules are not authorized ,it will discard those
rules and process the remaining best rules at the run time
Branching
----------
-->By Using "Branching" we can achieve the Parallel Development.
Note: While merging the Branch rules into Any open ruleset version then
first we need to resolve the Conflits,After we can merge the branch rules
into ruleset version
Ex3:Developer1Branch CustomerCareDetails
Developer2branch
Ex:Sprint5
user Stories
01-01-05 01-01-07
10/8/22
Data Pages
----------
-->By using "Data Pages" we can fetch the single record from data base
table or we can fetch the multiple records from data base table or we can
insert or update the data into the data base table or we can connect with
external applications by using Connectors like REST or SOAP.
List DataPage
-------------
-->By using "List Data Page" we can fetch the single record from data
base table
Report Defination
------------------
-->By using "Report Defination" we can fetch the multiple records from
Data base table or we can filter the records based upon Property
conditions or we can join the two or more than two data base table or we
can display the data in the form of "Charts or tableformat" or we can
schedule the reports to Business Users.
Q)What are the sources available for "Table Layout or Repeating grid
Layout" in a Section?
Ans)1.Property: We need to provide the Pagelist or Page group Property
2.Report Defination: We need to provide the Report Defination and
Class name
3.Data Page:We need to provide the List Data page Name
Obj Methods
-----------
Obj-Browse
-----------
-->By using "Obj-Browse" method in a activty we can fetch the multiple
records from Data base table.
Obj-Open
---------
-->By using "Obj-Open" method in a activty we can fetch the Single record
from Data base table.
Obj-Save
---------
-->By using "Obj-Save" method in a activty we can insert or update the
data into the data base table.
Obj-Delete
-----------
-->By using "Obj-Delete" method in a activty we can Delete record from
Data base table.
Assignments
------------
1.Create Order ,Policy,Complaint and Employee Data Base Tables
Note:If we want to one class properties into another class then we need
to create "Page or PageList or pageGroup" Properties.
Note:If we want to display the data in a UI then we need to set the data
to "pyWorkPage"
Log-Message
------------
-->If we want to capture the success or failure messages in a PEGA LOGS
then we will use the Log-Message method in a activity
Obj-Open
---------
-->By using "Obj-Open" method in a activty we can fetch the Single record
from Data base table.
Serach Customer
Obj-Save
---------
-->By using "Obj-Save" method in a activty we can insert or update the
data into the data base table.
Obj-Delete
-----------
-->By using "Obj-Delete" method in a activty we can Delete record from
Data base table.
a=10
A=B
UI 3434--->
13/8/22
Search Customer
Advanced Controls
-----------------
1.DropDown
----------
-->If we want to display the values into the Dropdown property from data
base table dynamically then we can use the "DropDown" Control.
1.Report Defination
2.Data Page
3.Clipboard Page (Pagelits or PageGroup)
Ex:Category SubCategory
Fruit Friut Related Items
Vegitables Vegitable related Itemas
1.Report Defination
2.Data Page
3.Clipboard Page (Pagelits or PageGroup)
3.AutoComplete
--------------
-->Based upon minimum search characters if we want to display the values
into the dropdown property from data base table dynamically then we can
use the AutoComplete Control.
1.Report Defination
2.Data Page
3.Clipboard Page (Pagelits or PageGroup)
4.RadioButton
-------------
-->If we want to set the values to Radiobutton from from data base table
dynamically then we can use the Radiobutton control
1.Report Defination
2.Data Page
3.Clipboard Page (Pagelits or PageGroup)
5.MultiSelect
--------------
-->If we want to Select the Multiple values from dropdown property then
we can use the MultiSelect Control.
1.Report Defination
2.Data Page
3.Clipboard Page (Pagelits or PageGroup)
6.Slider
---------
-->If we want to give Rating then we can use the Slider Control
16/8/22
Assignments
-----------
1.Display the List of Case Details in a UI By using Data Pages,Report
Defination and Obj Browse
Case ID Create By Create Date Time Update By Updated Date Time Work
STatus
Hint:BOI-Hyderabad-Sale-Bank5-Work-Homeloan
First Name Last Name Date of Birth Age Case ID Work Object STatus
Created By
First Name Last Name Date of Birth Age Case ID Work Object STatus
Created By
First Name Last Name Full Name Role Phone Number Email ID
Hint:Data-Admin-Operator-ID
First Name Last Name Full Name Role Phone Number Email ID
Case ID Create By Create Date Time Update By Updated Date Time Work
STatus
First Name Last Name Full Name Role Phone Number Email ID
9.Display the List available Work Objects status under Dropdown Property.
Dropdown: New,Open,Pending-Verification,Pending-Approval,Resolve-
Completed
11.Student Table
Student ID:111
Student Name
Student Age
Depertment Name
HOD
Location
Hint:Create Activity
Step1 Page-New StudentPage
Step2 Page-New DepertmentPage
Step3:Obj-Open StudentPage
Stpe4:Obj-Open DepedentPage
Step5:Property-Set
12.Store Table
Store ID
Store Name
Manager Name
Location
14:Employee Table
Hint:pxRequestor.pyUserIdentifier
15.Country Table
16.ReferenceData Table
Country
State
District
Mandal
Village
18/8/22
Explanation
-----------
Whenever Requestor Requesting Same type of Data multiple Times,First
request it will go the data base table and will store that data into the
clipboard under "data Pages" and will display the data in a UI.Next
requests instead of going to data base table it will fetch that data from
Clipboard means it will reduce network round trips between data base
table and pega application.
Structure
---------
1.Page Data Page: By using Page Data Page, We can fetch the Single Record
From data base table
2.List Data Page:By using List Data Page we can fetch the Multiple
Records From Data base table
Note:From PEGA 8.4 V onwards we have Same Sources available for Page or
List Data Page
1.Connector
2.Data Transform
3.Activity
4.ReportDefination
5.Loopup
6.Aggregative Sources
Types of Modes
--------------
1.Read Only:
------------
If we dont want to give the option to edit the data pages related data in
a UI then we will select the Mode to "Read Only".
2.Editable:
-----------
If we want to give the option to edit the data pages related data in a UI
then we will select the Mode to "Editable".
3.Savable
----------
-->If we want to insert or update the data into the database table then
we will select the mode to "Savable".
Types of Scopes
---------------
1.Thread
--------
-->Thread Level Data page is a nothing but "Rule Base Data Page" or Work
Object Level Data Page.Whatever data is availble under Thread Level data
pages, only that particular thread or Work Object level only we can
access.
-->Thread Level Data page will load at the time of Creating a Work object
or At the time of performing some actions on click the buttons or links
or dropdown changes ..etc
-->We can edit the Thread Level Data page related data
2.Requestor
-----------
-->Requestor Level Data Page is a nothing but Operator or User Level Data
Page Level.Whatever data is available under Requestor level Data
Page,only that particular Operator or User can access.
-->Requestor level data page will load at the time of user or operator
Login into the Application
-->We can edit the Requestor Level Data page related data
3.Node
-------
-->Node Level Data Page is a nothing but Application level Data
Page.Whatever Data is available under Node Level Data Pages,All the Users
can access.
-->Node level Data Page will load at the time of start the Application
Servers(Tomcat)
-->we can not edit the Node Level Data Pages related data because node
data pages related data sharable to across the application.if some user
is going update the node level data pages related data then it will give
data mismatces to other users.
GetCustomers
Thread Data Page
-----------------
ICICI Customer --->ICICI Application--> Transferred Amount Frd 10000
2000
ICICI Customer --->ICICI Application--> CurrentBill
ICICI Customer --->ICICI Application--> CreditCard Bill
Note:We can call the Multiple Sources in a Data Pages.Based upon the when
condition it will execute the Data Page source.
Q)What is the Use of "Simulate data source" check box in a Data Page?
Ans)When we are connecting with External application through connectors
like soap or rest to get Data,If external Applciation is not available to
send the data to pega applcaition.this senarios we can set the Static
data by checking the "Simulate data source" check box in a Data Page
Report Defination
-----------------
-->If we use the Report Defination, Whenever Requestor Requesting Same
type of Data multiple Times,Every request it will go the data base table
and will display the data in a UI
Obj-Browse
----------
--> If we use the Obj-browse method in a actvity, Whenever Requestor
Requesting Same type of Data multiple Times,Every request it will go the
data base table and will display the data in a UI
19/8/22
Data Pages
----------
Q)How to Flush the Data pages in pega
ans)1.In a Data Page under Load Management Tab we have "Clear Data Page"
button is available.We need to click on "Clear Data Page" button to
flush(Remove Data Page Data From Clipboard) data pages in pega.
2.By using "pzFlushDataPage" pega ootb activity we can flush the data
pages.
Refresh strategy
----------------
-->If we want to reload the data pages based upon "Days or Hours or min
or Seconds" then we can specify the "Days or Hours or min or Seconds" in
a data page under "Load Management" tab we have Different "Refresh
strategy" options are available.
10Min
Q)What are the Refresh Strategies available for Node Level Data Page?
Ans)1.Reload if older than
Q)What are the Refresh Strategies available for Thread and Requestor
Level Data Page?
Ans)1.Reload if older than
2.Do not reload when:
3.Reload if older than:
Q)What is the use of "Clear pages after non-use" check box in a Data
Page?
Ans)If we check the "Clear pages after non-use" check box then
automatically it will remove the Requestor or Node Level Data pages when
it is "Idle".
users
Ex:D_GetCustomer
D_GetCustomerRecord[CustomerID:.CustomerPage.CustomerID].CustomerName
.CustID=D_GetCustomer[CustomerID:Param.ID].CustomerID
.CustName=D_GetCustomer[CustomerID:Param.ID].CustomerName
.CustAge=D_GetCustomer[CustomerID:Param.ID].CustomerAge
.Location=D_GetCustomer[CustomerID:Param.ID].Location
SamplePage.FirstName=Kiran
.ShippingPage.AddressLine1=.BillingPage.AddressLine1
DepedentPage.Name=pyWorkPage.Name
DepedentPage.Name=pyWorkPage.Relation
.CurrentAddress=SamplePage.Address
or
3.Call the Savable Data Page in flow by using "Save Data Page" automation
shape
20/8/22
Data Pages
-----------
1.Key Accessed Data Page
--------------------------
-->In a Key Accessed Data page,Based upon Keys it will fetch the data
from clipboard instead of going to the Data base Table.
-->Key Accessed Data Page will not maintain the instances in a Clipboard.
Note:Only List Data Pages we can pass the keys.
-->Key Accessed Data Page will refer in a Property Level(Page or
PageList) means we can not refer the key accessed data page in a Table
Layout or Dropdowns or Activities or Data transforms.
Customers:1000
111-------->Customer Table--->Clipboard(1000 CUstomer)--->UI
222-------->Clipboard(1000 CUstomer)--->UI
333-------->Clipboard(1000 CUstomer)--->UI
Ex: D_GetCustomerDetails[Name:"Deepa"].pxResults
D_GetCustomerDetails[Status:"Fail",Location:"Chennai"].pxResults
D_GetCustomerDetails[Status:.Paymentstatus,Location:.Location].pxResults
111-------->Customer Table--->UI
222-------->Customer Table--->UI
333-------->Customer Table--->UI
Country State
India AP,TS,TN,KA
USA USA1,USA2
UK UK1,UK2
Canada Canada1,Canada2
4.Simulate Source
------------------