Creating contextual cases

To provide additional processing in your business processes, create a contextual case that starts when your current case is in progress. Creating contextual cases helps you deliver more granular and flexible applications. Instead of defining one long, complex case type, you can trigger a contextual case at an appropriate point in your main case type. For example, in an application to review insurance claims after car accidents, you can start a contextual case to collect and review materials so that a customer service representative (CSR) can estimate the damage before returning to the main case.
  1. Add the Create Case shape to the life cycle of your case:
    1. In the navigation pane of Dev Studio, click Case types, and then click the case type that you want to open.
    2. In the process in which you want to add the Create case smart shape, click Step > More > Automations > Create Case.
    3. Click Select.
  2. In the Step properties pane, define the case type that you want to create:
    • To start an independent case type, select Create case.
    • To start a child case of the current case, select Create child case(s).
  3. Select a case type to start:
    Choices Actions
    Create a new case type
    1. In the Create the following case list, select Create new Case type.
    2. In the Case type name field, enter the name of your case type.
    3. Click Create.
    Use an existing case type In the Create the following case list, select the case type that you want to use.
    Use an existing case type by selecting a class
    1. In the Create the following case list, select Other.
    2. In the Class field, press the Down arrow key, and then select the class that stores the case type that you want to use.
      When you select a class, you do not need to provide a run-time case type name.
  4. To create more than one case, provide a list:
    1. Select the Create multiple cases using a list check box.
    2. In the List field field, press the Down arrow key, and then select a field group that determines the number of cases to create.
    The option to create multiple cases is available for child cases only.
  5. Optional: To propagate data from your current case to the new case, in the Data transform field, press the Down arrow key, and then select the name of a data transform.
  6. Optional: To obtain a reference to the new case that you can use in the current case, in the Property to store ID of case field, press the Down arrow key, and then select the name of a single-value property.
  7. Enter the audit note.
  8. Click Save.