Skip to main content

Challenge

Creating a child case

Scenario

InsCorp is launching a roadside assistance service as a coverage option for automobile insurance policies. Configure the Assistance request case type to create a Service case during the Service stage to perform the selected services.

The following table provides the credentials you need to complete the challenge.

Role User name Password
Application Developer author@gogoroad pega123!
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

Challenge Walkthrough

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Create a Service case as a child case

  1. In the navigation pane of App Studio, click Case types > Assistance Request to open the Assistance Request case type.
  2. Hover over the Service stage, and then click More > Add process > New process.
    More icon when you hover over the Service stage
  3. In the new process field, enter Create Service case.
  4. Under the Create Service case process, click Step to create a new step in the stage.
  5. Click More > Automations > Create case, and then click Select to add the Create case step to the process.
    Create case step
  6. In the Create case step, enter Create Service case to replace the default text.
  7. In the contextual properties pane on the right, in the Create the following case list, select Service to create a Service case. A message is displayed that informs you the Service case is now a child case.
    contextual pane configuration
  8. Click OK to dismiss the message.
  9. On the Service (1) step, click the delete icon to delete the step. Ensure that the Service stage matches the following image.
    Create service case step
  10. Click Save to complete the Assistance Request workflow.
    Note: To ensure the Create Service case step is properly configured, click Actions > Refresh to refresh the case life cycle. Select the Create Service case step, and then ensure the Service case is selected in the contextual properties pane. Click Save to re-save the case life cycle.

2 Configure the Service case type

  1. In the navigation pane of App Studio, click Case types > Service to open the Service case type.
  2. Click the Settings tab to open the Service case type properties.
  3. In the General section, under Availability, clear the Show in 'New' menu check box, which disables the Service case creation in the create menu.
    Service case type settings
  4. Click Save to save the Service case type.
    Note: To reflect the Service case type settings, log off and log in back to the application.

3 Confirm your work (section not graded)

  1. In the App Studio header, click Preview application.
  2. In the navigation menu on the left side of the User Portal, click Create and confirm the service case is not displayed.
    Create menu
  3. Click Assistance Request to create a new Assistance Request case.
  4. Advance the case to the Resolution stage, and make note of the Assistance Request case ID.
    Note: In the Service stage, if you see Error - Create Child case: The class of the child work object is not specified, open the Assistance Request case type, confirm that the Service case is selected in the Create service case step, and then save and run the Assistance Request case type.
  5. In the Review service summary view click No, advance the case to resolve the Assistance Request case.
  6. In the To do section of the case, to the right of the Select services assignment, click Go.
    To do section
  7. To the right of Service case ID, click the down-arrow to see the relationship between the parent case and the child case.
  8. Confirm that the previously noted Assistance Request case ID is displayed.
    Parent case relationship


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice