Understanding case hierarchy
Before you start visualizing your business cases, analyze the relationships and interactions between them. When you think about the outcome that you want to achieve, decide whether you need to create only one template to complete your work, or several templates for smaller results that add up to your ultimate goal. Analysis of your business needs helps you make the most of the tools that Pega Platform provides and create the most efficient solutions.
For example, if your business objective is to review insurance claims, you might need to consider different scenarios while processing a claim. In a car accident insurance claim, a customer might file both body injury and vehicle damage claims. To process the case, and to estimate the total amount of money that the customer should receive in compensation, you need to process the injury and damage cases first. Using the results of these two cases, you can calculate the final insurance payout. To achieve this goal, you can create a Car Accident parent case, and then Body Injury and Vehicle Damage child cases. You resolve the parent case only after all the child cases reach a resolution. Pega Platform refers to the relationship between parent and child case types as the case type hierarchy. The following figure presents a same case type hierarchy:
Making your work more granular also results in time and costs savings, because you can reuse child cases in different scenarios. For instance, in a claims process for a customer that files a car accident insurance claim that requires only a Body Injury child case, you can reuse your existing case types instead of creating a whole new business process. Reusing child case types increases the flexibility of your application, and helps you meet unique and dynamically changing needs. By using child case types as building blocks, you can resolve complex business cases and dependencies without planning and creating long, complicated case types.
Sharing data between casesFor greater automation of your business processes, you can configure how parent and child cases share data. Each time you create a child case, your application can populate it with specific information from the parent case, so that you do not need to enter the same data twice. For example, in a car accident insurance claim, a Bodily Injury child case can include all of the personal details that a customer provides for the parent case. A parent case can also reflect any values that you enter while processing its child cases. For instance, when you decide how much money a customer should receive from Bodily Injury and Vehicle Damage child cases, the amount can be automatically totaled and added to the Car Accident parent case.
Reusing child case types in different scenarios
When you want to define a reusable part of a business process, consider a set of tasks that you can complete independently of your main business process, and that you can apply in different scenarios. Analyze a sample scenario in which a bank reviews various requests from customers. The requests might include issuing a duplicate credit card, filling in a complaint, and making a loan request. After a customer service representative (CSR) resolves each request, a customer receives a short survey to collect feedback. Collecting feedback is a separate process that includes creating a survey, sending an email to a customer, sending a reminder after a week without a reply, and then analyzing the customer's feedback. The collecting feedback process can be the same for many other business processes. By reusing child case types in different scenarios, you speed up application development and provide consistent experience for your customers.
What to do next: After you understand dependencies between your business processes, identify types of users that you need to involve in you cases. See Identifying people involved in case types.
- Case types
Save time and maximize efficiency when you implement similar business processes by defining case types. A case type is a visual representation of your business process, and a template for work that you can reuse for multiple instances of your business process. By creating a case type, you define the ultimate goal of a business process, the path that the case must follow to a resolution, the people who are involved in processing the case, and the data that the case requires.
- Creating a top-level case type
Improve work processing in your application by creating top-level case types that visualize business processes. When you visualize a business process, you can conveniently divide the process into phases, and then track and manage work with greater ease.
- Creating a child case type
Create child case types to ensure that users of your application address all elements of a complex business process before resolving the case. When you supplement your business processes with child case types, you create dependencies that these case types represent.
- Sharing data between parent and child cases
For greater automation of your business processes, you can share data among the cases in your case hierarchy. When you reuse data between parent and child cases, you increase efficiency, improve data consistency, and as a result, resolve cases faster.