Question
Virtusa
LK
Last activity: 22 Mar 2020 14:24 EDT
Property defied in Data Class access section in work Class
Hi,
I have some data in Data Class and I have created a section in work Class to be used in a flow action.
What is the best way to get the data in Data Class to the Section.
Thank You.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Create a section in Data class and use section include in work class to include that section and use clipboard page while including section.
-
Jeevantha Perera
Virtusa
LK
Hi,
I want to get the data from Virt-FW-ABCDFW-Data-Customer to a section rule in Virt-FW-ABCDFW-Work-Claim.
How can i archive this.
IQZ Systems
IN
Hi
Create a property of type page list Virt-FW-ABCDFW-Work-Claim with page definition as Virt-FW-ABCDFW-Data-Customer and data access with refer to a datapage. Something as the following
You can access this specific record using the property index like test(1) will give you first record.
If you only need to display the data, use a table and source it with the datapage in the data class.
Hope this helps.
-
Jeevantha Perera
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Could you please share how it is stored in the Clipboard, data from Virt-FW-ABCDFW-Data-Customer class.
Is it stored in a page "Customer" under pyWorkPage?
Or do you want to show records from the Data Type (ex: Customer) in the Work Class section?
Virtusa
LK
I just want to show records from the data type
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
When you configure records for Data type, a new data page will be created. For ex, when records are configured for the "Address" data type a new Data page "D_AddressList" will be created. The data page gets the list of records available in Data type.
If you want to show the records of this data type in Work, use Table layout and source it with the Data page. Please find below screenshot for more details.
Virtusa
LK
Thank You Kanap2 for the reply.is there any other alternative ways to archive this.
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
You can use Report definition as a source instead of data page for the table.
Virtusa
LK
Hay Kanap if it stored in a page "Customer" under pyWorkPage how will be the solution for this
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
If the customer is a pagelist, you can use the table layout and source as "Property" and give ".Customer" in theList/Group.
If the customer is a single page, then create a section in the customer class and map all the properties. In the main section, do a section include and use the page context as clipboard and context value as ".Customer"
-
Jeevantha Perera
Virtusa
LK
Thank You kanap. This is very usefull
Virtusa
LK
Hi Kanap,
I did as you advised. It worked but when i tried to run it.the properties not showing in the section. in the live UI it shows the section. This is the first step in the stage and whole flow
Any Help
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Are you using section include with clipboard page as the source, could you please share screenshots, if possible?
Updated: 22 Mar 2020 3:21 EDT
Virtusa
LK
Yes i have included clipboard page as the source.4
It says "The Claim case type does not yet have any fields defined."
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Could you please check if the section is created in the correct class in which you are including the section.
Where are you getting this error (The Claim case type does not yet have any fields defined)?
Is the Customer page there in the clipboard?
Virtusa
LK
Hi Kanap,
The section is created in Virt-FW-ABCD-Data-Customer
and Customer single page property created in Virt-FW-ABCD-Work-Claim class
and i created the section as in the attchement.
Can you please help me on this.
Thank You
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
The section seems to be correct and could you please check if the Customer page is there in clipboard?
Do you want to show the properties which have values in CustomerInfo section or do you want to enter the new values in the section?
Virtusa
LK
Hi Kanap,
Yes Kanap, the properties in CustomerInfo section i want to show.
But i cant find the customer page in clipboard
Virtusa
LK
Hi Kanap,
What is the best practice.should i initialize the Customer page in pyDefault DT
Thank You
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Instead of pyDefault, in the pre-processing Data Transform, you can add the below steps to initialize the page.
Virtusa
LK
Thank You for the reply Kanap