![Online shopping case overview](https://demo5-academy.pega.com/sites/default/files/styles/1024/public/media/images/2019-09/online-order-case-overview_0.png?itok=KY0tUH-t)
Case life cycle
A business view of work
Business applications help automate work that is necessary to achieve specific outcomes. Traditional business applications are based on individual transactions and are built on standalone applications for different departmental functions. Siloed applications make it difficult for various business departments to work together and effectively achieve business outcomes.
Pega thinks applications should function the same way that users think about and describe their work. For example, consider an online order process: the customer submits the order, and the company processes and then delivers the order. A Pega Platform™ application that models the online order process follows the same sequence.
Case types and cases
A case type is an abstract model of a business transaction. Case types model repeatable business transactions. A case is a specific transaction instance. To model the online order transaction in Pega Platform, you define an online order case type that advances from submission to processing and then delivery. As shown in the following image, each time a user submits an online order, Pega Platform creates an order case and assigns the case a number.
Case life cycle
You define the case life cycle for a case type to help you visualize the work that must be completed as part of the desired business transaction. The case life cycle represents the business model of the Microjourney™. The case life cycle models the path your case follows to resolution. The major building blocks of the case life cycle are stages, processes, and steps.
The following image depicts the case life cycle for the online order case type.
In the following image, click the + icons to learn more about the building blocks of a case type.
Naming conventions
Consider the following naming conventions when you create stages, processes, and steps in a case life cycle.
Name stages by using a noun, noun phrase, or gerund (which acts as a noun) to describe the section context. As much as possible, try to use no more than two words. Use names that are meaningful and relevant to business users. In the previous example, the company processes the order in the second stage of the order case life cycle, so you name the stage Processing.
For stages that do not resolve the case, test your stage naming choice by checking if it sounds correct in the following test sentences:
This case is in <stage name>.
When does this case move to <stage name>?
How many cases are in <stage name>?
Read the sentence aloud with your proposed stage name. If the stage name does not correctly fit in these sentences, consider revising.
Name processes and steps by using the verb + noun naming convention. In the order case example, in the Processing stage, you name the process Process order. You name the steps in this process Check inventory and Pack items.
Check your knowledge with the following interaction.
This Topic is available in the following Module:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?