Building case types
After you identify the main elements of your case types, and the relationships and dependencies in a case type hierarchy, start dividing your business cases into smaller parts so that you can use Pega Platform to visualize and then process your work to achieve your goals.
In Pega Platform, when you model a path that your case follows to a resolution, you define a case life cycle that consists of tasks grouped in a logical and practical way. By taking this approach, you can design your application to function in the same way that you think about your work. Pega Platform offers you flexibility to seamlessly move between tasks in an order that matches your unique business requirements, so that you can efficiently react in changeable situations.
When you model your business process, divide work into the following elements:
Stages
- Submission, in which an HR worker collects personal details and relevant documents from a job applicant.
- Review, in which a hiring manager conducts an interview with the job applicant and reviews submitted documents.
- Approval, in which an HR worker prepares onboarding information for the approved new hire.
Figure: Case Designer displaying primary stages and an alternate stage
![Different paths for resolving a business process.](../Resources/Images/casemanagement/intro_stages.png)
Modularity in case types provides for more flexible work processing, because a case can reenter any stage, for example for additional input, or enter a stage only when the stage is relevant to a specific scenario.
To define a stage, which represents a milestone in your business case, you create processes that are collections or individual tasks.
Processes
Figure: Parallel processes in Case Designer
![Related actions grouped into parallel processes.](../Resources/Images/casemanagement/intro_processes.png)
You populate processes by adding steps.
Steps
- Send email, which is an automation that sends a message to a job applicant.
- Collect information, which is a user action that a job applicant performs by providing personal details.
- Generate document, which is an automation that creates a document with an applicant's details.
Figure: Steps in a process in Case Designer
![Automations and a user action in a process.](../Resources/Images/casemanagement/intro_steps.png)
Reusing assets in case types
To save time when you create a case type, you can reuse assets from an existing case type immediately upon creation. You can reuse data, views, and even an entire life cycle. For greater flexibility, you can go further and modify reused elements. For example, after you create a case type for reviewing job candidates, you can reuse its case life cycle in a case type for reviewing candidates for managerial positions, and then modify it to add additional actions.