Skip to main content

Configuring Flow Action post-processing

2 Tasks

20 mins

Visible to: All users
Intermediate Pega Platform 8.8 Case Management English
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Scenario

Currently, the Candidate case type creates a candidate stakeholder to represent a job applicant and adds the candidate stakeholder to the case at the beginning of the Screening stage. Candidates are not stakeholders in the case throughout the Submission stage. As a result, users cannot contact candidates by email while the case is in the Submission stage.

In a future release of the HRApps application, users can save cases after a candidate provides personal information at the start of the Submission stage. This feature allows users to contact by email candidates who have not completed the Submission stage. To support this change, the vice president of Human Resources has asked you to configure the application to support emailing candidates whose cases have not completed the Submission stage. 

Reconfigure the Collect Candidate Details process so that a candidate is added as a stakeholder to the case when the user submits the Collect Personal Details form. After you complete this change, the Create Candidate Party process in the Screening stage is no longer needed.

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

Role User name Password
Senior System Architect SSA@TGB 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.

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

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

Challenge Walkthrough

Detailed Tasks

1 Update the Collect Personal Details flow action

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter SSA@TGB.
    2. In the Password field, enter pega123!.
  2. In Dev Studio, from the Candidate case, click the Collect Candidate Details process.
  3. Right-click the Collect Personal Details connector, and then select Open Flow Action to open the CollectPersonalDetails_0 flow action.
  4. On the rule form, click the Action tab.
  5. In the Post-Processing section, in the Run activity field, select addWorkObjectParty.
  6. Update the parameter values with the values from the following table:
    Parameter Value
    PartyRole Candidate
    PartyClass TGB-HRApps-Data-Candidate
    PartyModel NewParty

    When you are done, the section looks like the following image.

    addWorkObjectParty
  7. Save the changes. When a user submits the Collect Personal Details form, the system adds the candidate to the case.

2 Remove the Create candidate process from the Screening stage of the Candidate case life cycle

  1. On the case life cycle, in the Screening stage, click the Create Candidate Party process.
  2. Click the Delete icon to delete the process.
  3. In the header of the case life cycle, click Save. The Create Candidate Party process is removed from the life cycle of the Candidate case type.
Note: When you remove a rule from use in a case type, remember to determine whether the rule is used elsewhere in your application. If the rule is unused, consider removing it from the application. If the rule exists in a previous ruleset version, you must withdraw the rule to remove it from your application.

Confirm your work

Create a Candidate case and advance it to the Collect Professional Details form. The form displays the candidate in the Stakeholders area.


This Challenge is to practice what you learned in the following Module:


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