Define case fragments

Case fragments are the building blocks of the case. The caseworker can select to start them at any time and as many times as deemed necessary. The fragment itself runs as a normal process but when designed, it has direct access to case details such as data, roles, milestones, states, and process events. This approach makes it easy to ensure everything is available to allow the caseworker to dynamically build the overall case up from a series of parts in any order. Because fragments make use of case artifacts, they are tied to that case and cannot be invoked against different case types.

Fragments at runtime are known as associated jobs, basically indicating that the job is associated with the case and versions. A process can also be an associated job, and because it is not directly using case artifacts it can be associated with any case type.

For this tutorial, you create the following two fragments.

  • Flooding: There is flooding around the property.

  • Broken Door: There is an issue with the home itself.