Circumstancing Rules on a single variable
2 Tasks
10 mins
Intermediate
Pega Platform '24.2
Enterprise Application Development
Dev/Designer Studio
English
Scenario
TGB sends an email to a candidate to extend an offer of employment. TGB company policy gives the candidate 72 hours to respond to the offer. However, Canadian regulations require that a company allow five business days for a resident of Canada to respond to an offer.
Customize a version of the offer letter email to send to Canadian candidates to inform the candidate about the response time frame of five business days.
- Create a circumstanced version of the OfferLetter Correspondence Rule.
- For a circumstancing Condition, test whether the value of the Country Code property (.Candidate.pyCountryCode) is CAN.
Note: The five-day Canadian regulation is included for challenge purposes only.
The table below 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 Create a circumstanced version of the Offer Letter correspondence Rule
- 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, open the Candidate Case Type.
- Select the Send Offer Letter Step.
- Select and open the Offer Letter Correspondence template.
Tip: In the pop-up, select the OfferLetterEmail Rule.
- Click Save as > Specialize by circumstance.
- Configure the circumstancing Rule as seen in the following image.
-
Create and open the Correspondence: Offer letter Rule form to edit the text.
2 Define the behavior for the circumstance
-
Update the text of the email to read as follows:
Dear <<.Candidate.pyFullName>> ,
We are pleased to offer you the position <<.Position.JobTitle>>, reporting to <<.Position.Manager>>, at a starting salary of <<.OfferedSalary>>.
Please inform us of your intention to either accept or reject this offer within five business days.
We are excited to have you join our organization and look forward to working with you. If you have any further queries, please do not hesitate to contact us.
Regards,
<<.Position.Recruiter>>
- Save your changes to the circumstanced Rule.
Confirm your work
- Create a new Candidate Case.
- On the Collect Personal Details form, in the 3-letter country code field, enter CAN.
- Complete the remaining required fields on the form and click Submit.
- Advance the Case to the Screening Stage.
- In the Stakeholders section of the Case, confirm that the candidate is listed as a stakeholder to ensure the email can be routed to the candidate.
- Advance the Case to the Offer Stage, past the Manager Approval Step.
Tip: You may need to refresh the Case to display the email attachment.
-
Open the attached email and verify that the content matches the circumstanced version of the Rule. Ensure that the attached email mentions that the candidate has five business days to accept or reject the offer.
- Close the Candidate Case.
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?