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.

@AbhishekC1725

Field Description
Page Context Select or confirm the page context for the section.
- Use current page context — uses the class ( Applies To key part) of the current section
- Use data page
- Use clipboard page
- Use page defined by property
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.
- Use data page — in the field that displays, press the down arrow and select the data page. If the data page accepts parameters, then the parameters display here, along with a field into which you can enter the values that you want to pass to the parameters.
- Use clipboard page — specify the clipboard page in the field that displays. Press the down arrow and select to reference:
- a property on the primary page: select Primary. Primary, followed by a dot, displays in the field. Press the down arrow to select the property name that you want to use as the page context for the section.
- a parameter on the parameter page: select Param. Param, followed by a dot, displays in the field. Press the down arrow to select the parameters you want to specify as the page context for the section.
- Use page defined by property — specify the property that defines the page that you want to use.

@AbhishekC1725

  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.

  1. 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.

@Anoop Krishna Hi, Will you please explain when to Use Data Page context in flow action, Specially Editable databpage .

@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.