9.3 Employee Central Alerts and Notifications
Key Takeaways
- Alerts notify users of upcoming events, such as an expiring work visa, in the system and by e-mail.
- An alert needs three elements: an alert message, alert recipients defined in a workflow record, and an alert rule.
- Workflow approvers receive alerts in the system, CC roles receive them only by e-mail, and contributors are not used.
- EC alert rules use the Generate Alerts scenario and are assigned as saveAlert on an alert-supported element.
- A recurring EC Alerts and Notifications job in Provisioning creates and sends the alerts.
9.3 Employee Central Alerts and Notifications
Quick Answer: Alerts warn users about upcoming events, such as a work visa about to expire. An EC alert needs three elements: an alert message (Manage Data), alert recipients (defined in a workflow record), and an alert rule (scenario Generate Alerts, assigned as saveAlert). A recurring EC Alerts and Notifications job in Provisioning creates and sends them.
Where Alerts Are Supported
Alerts are supported for:
- Employee Central data
- Compensation Information
- Employment Information
- Job Information
- Pay Component Recurring
- Pay Component Non-Recurring
- Work Permit
- Global Assignment
- MDF data
Depending on configuration, users see alerts in the system (for example in the For You Today area of the Home Page) or receive e-mail.
Element 1: The Alert Message
The Alert Message object is pre-delivered. Create records in Manage Data with a name and external code. You can localize the header and description. The message field (alertDescription) is 255 characters by default and can be increased up to 4,000.
Tags act as placeholders:
| Tag | Use |
|---|---|
| [[SUBJECT_USER]] | The employee concerned |
| [[EVENT_REASON]] | EC data |
| [[EFFECTIVE_DATE]] | The effective date |
| [[OBJECT_TYPE]] | MDF data (person- and object-based) |
| [[OBJECT_NAME]] | MDF data (object-based) |
| [[VIEW_BLOCK_ON_PROFILE]] | A deep link in e-mail to the right People Profile block (EC alert-supported entities only) |
Element 2: The Alert Recipients
Recipients are defined in a workflow configuration record (Manage Organization, Pay and Job Structures):
- Approvers receive the alert in the system.
- CC roles receive the alert only by e-mail.
- Contributors are not used for alerts.
In THR81's visa example, the employee is both an approver (system alert) and a CC role (e-mail), and so is the employee's manager.
Element 3: The Alert Rule
Generate Alerts is the EC Core rule scenario for EC data alerts:
- IF: the condition, for example document country = Canada and expiration date not null.
- THEN:
- Alert.Workflow Information: the recipient workflow
- Alert.effective date: when the alert is sent
- Alert.Alert Message: the message created in Manage Data
Assign the rule as saveAlert at element level of the alert-supported entity in Manage Business Configuration. Remember that saveAlert fires when changes to jobInfo, compInfo, employmentInfo, or workPermitInfo are saved (Section 5.2).
For MDF data, the steps are the same, except that you use the Alert purpose in the Rules for MDF Based Objects scenario and assign the rule as a Post Save rule.
The Recurring Job
Create a recurring job in Provisioning (Manage Scheduled Jobs > Create New), job type EC Alerts and Notifications, typically daily. The job checks which records qualify under the rule's IF conditions and sends the alerts on the effective date or due date set in the THEN statement. Use Run it now to test.
Managing Pending Alerts
The Manage Alerts and Notifications dashboard lets administrators filter, view, and delete pending EC alerts and To-Dos. An advanced filter narrows them by criteria.
Worked Example: Visa Expiry Alert (THR81)
| Step | Configuration |
|---|---|
| 1. Message | Manage Data > Alert Message: name, external code, localized header and description, tags such as [[SUBJECT_USER]] |
| 2. Recipients | Workflow record: employee as approver (system alert) and CC role (e-mail); the manager likewise |
| 3. Rule | Generate Alerts; base object Personal Document Information Model; IF document country = Canada and expiration date is not null; THEN set message, workflow, and alert date |
| 4. Assignment | BCUI: assign the rule to the element as saveAlert |
| 5. Job | Provisioning: recurring EC Alerts and Notifications job, daily |
Alerts for MDF Data, Including Positions
MDF objects use the same three building blocks with two differences: the rule is built in Rules for MDF Based Objects with the purpose Alert, and it is assigned in Configure Object Definitions as a Post Save rule. The tags [[OBJECT_TYPE]] and [[OBJECT_NAME]] identify the MDF record in the message. THR79 lists Configure MDF Alerts and Notifications as one of the uses of Rules for MDF Based Objects with Position as the base object, so position-related reminders follow this MDF pattern (Section 13.1).
Design Checklist
- Decide who must be warned and how: in-system (approver) or e-mail only (CC role).
- Decide when: the THEN statement's effective date or due date sets when the alert is sent.
- Keep the IF narrow enough to avoid noise, for example only expiring documents of one country.
- Write the message with tags, lengthening alertDescription beyond 255 characters if needed.
- Assign the rule with the right event: saveAlert for EC data, Post Save for MDF data.
- Create and test the recurring job, then check the For You Today area and the recipients' e-mail.
Alerts Versus Workflows Versus Admin Alerts
| Feature | Purpose |
|---|---|
| EC alerts | Remind employees or managers of upcoming data events (expiring visas, contract end dates) |
| Workflows | Approve data changes before they take effect |
| Admin Alerts | Inform administrators of system issues such as stalled workflows or failed follow-up processes (Section 2.4) |
Common Pitfalls
- Creating the message and rule but no recurring job, so no alerts are generated.
- Putting recipients only in the contributor role, which alerts do not use.
- Assigning the rule as onSave instead of saveAlert for EC data.
- Forgetting to lengthen alertDescription for long messages beyond 255 characters.
An alert should reach a manager only by e-mail, not as an in-system alert. Where is the manager placed in the workflow record?
How is an alert rule for Employee Central data assigned?
Alert messages, recipients, and rules are configured, but no alerts appear. What is most likely missing?