Question
Zensar Technologies Ltd
IN
Last activity: 13 Feb 2024 4:22 EST
Best Practice To Create Sections In Data or Work Class?
Hi All, When to create section in Data class? And When to create section in Work Class? If we create section in Data Class how we can use that section in Work class?
Thanks,
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 13 Feb 2024 4:22 EST
Rulesstack Private Limited
IN
Hi @AbhishekC1725,
When to create a section in Work Class
If the section represents data elements common to multiple work objects, defining it in the data class ensures consistency and reusability. This is ideal for sections containing customer information, product details, or any data shared across various processes
When to create a section in the Data class
Sections in Work classes are used to define the user interface and behaviour of the case. You create sections in Work classes to design the presentation and interaction for the user while working on a case. These sections often include fields, buttons, and other UI elements specific to the business process.
Using a Data Class Section in a Work Class:
To utilize a section defined in the data class within a work class:
Create a Page Property: In the work class, configure a page property of type "Data Page" referencing the data class containing the section you want to embed.
Embed the Section: Create a new section in the work class and choose "Embedded Section" as the section type.
Thanks,
Mohd Qizer Uddin
Pegasystems Inc.
CA
Create sections in the data class for Abstract and Concrete data types - This helps to achieve better reusability.
You can embed the sections defined in the data class to work Class section rules as required.
Zensar Technologies Ltd
IN
@RameshSangili Thanks for response 😊
Bits in Glass
IN
Zensar Technologies Ltd
IN
@Anoop Krishna Thanks for response 😊
Accepted Solution
Updated: 13 Feb 2024 4:22 EST
Rulesstack Private Limited
IN
Hi @AbhishekC1725,
When to create a section in Work Class
If the section represents data elements common to multiple work objects, defining it in the data class ensures consistency and reusability. This is ideal for sections containing customer information, product details, or any data shared across various processes
When to create a section in the Data class
Sections in Work classes are used to define the user interface and behaviour of the case. You create sections in Work classes to design the presentation and interaction for the user while working on a case. These sections often include fields, buttons, and other UI elements specific to the business process.
Using a Data Class Section in a Work Class:
To utilize a section defined in the data class within a work class:
Create a Page Property: In the work class, configure a page property of type "Data Page" referencing the data class containing the section you want to embed.
Embed the Section: Create a new section in the work class and choose "Embedded Section" as the section type.
Thanks,
Mohd Qizer Uddin
Zensar Technologies Ltd
IN
@Mohd Qizer Uddin Thanks for response 😊