Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Zensar Technologies Ltd
IN
Last activity: 7 Mar 2023 1:42 EST
Page context In Flow Action
Hi !!
Can anyone explain the Page context options with example available in Flow Action.
Options are:-
1) Use current page context
2) Use Data Page
3) Use Clipboard Page
4)Use Page Defined by Property.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 7 Mar 2023 1:42 EST
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
Bits in Glass
IN
1. Use Current context-> if you have a case type->flow in same work class->flow action in work class->Section also in work class
Then you can use this option because when the case runs it will be on work class context and the section is also in work class context. Here you will be having all the rules in work class.
2. All other options-> We will take above example itself-> you have a case type->flow in same work class->flow action in work class but section you have created in Org-Data-Customer class for resuse and you have a page property of .CustomerData of this Org-Data-Customer class. You want to have a dedicate screen to show and update Customer data. In this case you can use "Use Clipboard Page" or "Use Page Defined by Property" and you will be calling section created on this class. So Data is in data class and you are using section in data class, so you just need to directly refer properties(.Name,.Address etc) because context is .CustomerData of this Org-Data-Customer class. Similary you can create a data page D_CustomerData of Org-Data-Customer class and use "Use Data Page" and call the same section created on this class.
1. Use Current context-> if you have a case type->flow in same work class->flow action in work class->Section also in work class
Then you can use this option because when the case runs it will be on work class context and the section is also in work class context. Here you will be having all the rules in work class.
2. All other options-> We will take above example itself-> you have a case type->flow in same work class->flow action in work class but section you have created in Org-Data-Customer class for resuse and you have a page property of .CustomerData of this Org-Data-Customer class. You want to have a dedicate screen to show and update Customer data. In this case you can use "Use Clipboard Page" or "Use Page Defined by Property" and you will be calling section created on this class. So Data is in data class and you are using section in data class, so you just need to directly refer properties(.Name,.Address etc) because context is .CustomerData of this Org-Data-Customer class. Similary you can create a data page D_CustomerData of Org-Data-Customer class and use "Use Data Page" and call the same section created on this class.
Conclusion is-> these options are for changing the context from current context to other context. Here work to data context because section is in data class.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Lantiqx
IN
Field | Description |
---|---|
Page Context | Select or confirm the page context for the section.
|
Page | Appears when you select a Page Context of data page , clipboard page , or page defined by property . Identify the name of the page that is the basis for fields (properties) within the section. Leave this field blank if the page is the one matching the Applies To key part of the rule.
|
-
Srinidhi Mrithyunjayan
Accepted Solution
Updated: 7 Mar 2023 1:42 EST
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
Bits in Glass
IN
1. Use Current context-> if you have a case type->flow in same work class->flow action in work class->Section also in work class
Then you can use this option because when the case runs it will be on work class context and the section is also in work class context. Here you will be having all the rules in work class.
2. All other options-> We will take above example itself-> you have a case type->flow in same work class->flow action in work class but section you have created in Org-Data-Customer class for resuse and you have a page property of .CustomerData of this Org-Data-Customer class. You want to have a dedicate screen to show and update Customer data. In this case you can use "Use Clipboard Page" or "Use Page Defined by Property" and you will be calling section created on this class. So Data is in data class and you are using section in data class, so you just need to directly refer properties(.Name,.Address etc) because context is .CustomerData of this Org-Data-Customer class. Similary you can create a data page D_CustomerData of Org-Data-Customer class and use "Use Data Page" and call the same section created on this class.
1. Use Current context-> if you have a case type->flow in same work class->flow action in work class->Section also in work class
Then you can use this option because when the case runs it will be on work class context and the section is also in work class context. Here you will be having all the rules in work class.
2. All other options-> We will take above example itself-> you have a case type->flow in same work class->flow action in work class but section you have created in Org-Data-Customer class for resuse and you have a page property of .CustomerData of this Org-Data-Customer class. You want to have a dedicate screen to show and update Customer data. In this case you can use "Use Clipboard Page" or "Use Page Defined by Property" and you will be calling section created on this class. So Data is in data class and you are using section in data class, so you just need to directly refer properties(.Name,.Address etc) because context is .CustomerData of this Org-Data-Customer class. Similary you can create a data page D_CustomerData of Org-Data-Customer class and use "Use Data Page" and call the same section created on this class.
Conclusion is-> these options are for changing the context from current context to other context. Here work to data context because section is in data class.
-
Kiran Tanuku
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Zensar Technologies Ltd
IN
@Anoop Krishna Hi, Will you please explain when to Use Data Page context in flow action, Specially Editable databpage .
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-02/bbed3e6b-b104-4ff7-af74-b2b62c710bae.jpg?h=4a7d1ed4&itok=nHV3ilAn)
Bits in Glass
IN
@AbhishekC1725 Sure. It's the same. Assume you have a customer onboarding case type-> flow in work class-> flow action in work class ---------> section in data class(org-customer-data.
You have an editable dpage D_CustomerEditable dedicatedly for viewing and editing customer details in the screen.
You will be using "use data page" Option to use D_CustomerEditable in your flow action with the section created in the same class. Section should contain only informations related to customers. Now on submitting the screen, the data will be saved into editable data page.
-
Abhishek Choubey Kiran Tanuku