Question
JNTU Ananthapur
US
Last activity: 5 Jul 2024 2:24 EDT
what is the difference between the primary page and top page in pega?
Hi,
what is the difference between the primary page and top page in pega?
Regards,
Venkatesh
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 5 Jul 2024 2:24 EDT
Lantiqx Systems India Private Limited
IN
Primary page will represent the class on which the activity is created, it will take the context of the current class. during execution it will set the values on the executing class.
Top page will represent the top level class above the primary page class. we have activity A in class A and activity B in class A-B and wen we call the activity B in activity A and inside activity B if we use Primary it will represent the Class A-B context and when we use Top it will represent the class A context.
Maantic Inc
IN
Primary: Primary refers to the in which class your running
TopPage: In the context of an embedded page, identifies the top-level page to which the current embedded page belongs.
Eclatprime Digital Private Limited
SG
link below will give you better understanding.
https://support.pega.com/question/what-difference-between-top-page-and-primary-page-pega
Rulesstack Private Limited
IN
Hi @VenkateshK97,
In Pega, the terms "primary page" and "top page" refer to different contexts within the rule execution and data handling processes.
Primary Page
The primary page is the main clipboard page used by a rule when it executes. It contains the context and data relevant to that rule.
Examples: For a flow action, the primary page might be the work item page. For a decision table, it might be a data page containing the input data.
Top Page
The top page is the highest-level page in the clipboard structure when you trace the hierarchy of embedded pages. It is often the page representing the entire case or work object.
Examples: In a case management scenario, the top page might be the page representing the entire case, from which all other pages (like work item pages, assignment pages, etc.) are derived.
Regards,
Mohd Qizer Uddin
Accepted Solution
Updated: 5 Jul 2024 2:24 EDT
Lantiqx Systems India Private Limited
IN
Primary page will represent the class on which the activity is created, it will take the context of the current class. during execution it will set the values on the executing class.
Top page will represent the top level class above the primary page class. we have activity A in class A and activity B in class A-B and wen we call the activity B in activity A and inside activity B if we use Primary it will represent the Class A-B context and when we use Top it will represent the class A context.
Eclatprime Digital Private Limited
AU
Hi,
Primary Page always refers to the page context under which your current rule is being executed. When the primary page is an embedded page (Ex: MyTopPage.EmbbeddedPage), then TOP always refers to the top level page of your current page context (that means MyTopPage refers to TOP). If there are multiple levels, it always refers to the TOP most.