Configuring Flow Action post-processing
2 Tasks
20 mins
Intermediate
Pega Platform '23
Case Management
English
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.
Challenge Walkthrough
Detailed Tasks
1 Update the Collect Personal Details Flow Action
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter SSA@TGB.
- In the Password field, enter pega123!.
- In Dev Studio, from the Candidate Case, click the Collect Candidate Details Process.
- Right-click the Collect Personal Details connector, and then select Open Flow Action to open the CollectPersonalDetails_0 Flow Action.
- On the Rule form, click the Action tab.
- In the Post-Processing section, in the Run activity field, select addWorkObjectParty.
- 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.
-
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
- On the Case Life Cycle, in the Screening Stage, click the Create Candidate Party Process.
- Click the Delete icon to delete the Process.
- 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.
Want to help us improve this content?