Most of the customers have a common requirement to send alerts on employee’s service anniversary date. You could find various ways of achieving this using custom MDF, custom Jobs like Integration center, Custom Integration using HCI, etc.
In the below blog, I am going to demonstrate an approach which is not only simple and effective but does not need any custom MDF or custom process saving customer’s implementation time and cost. This approach makes use of standard EC objects and EC Jobs.
The blog makes use of following process
Important Note: Please don't create a support ticket in our queue, if you are modifying or changing the below best practice config. If you are modifying the rules, we cannot support your issues since this would be done by someone else and we are not sure what was the intention behind those changes
Without wasting much time, lets get started on the process
In standard EC employment details add a new custom field named “ Number of Years” of type Long
Go to manage data and create new Off Cycle Event Batch as shown below
This concludes creating off cycle batch
Create an Alert Message for each year of anniversary. You can create one and use copy paste and mass import using MDF import and export. For simplicity case, I have created for two years of anniversary
Create an alert workflow to be sent to the employee
Create a new rule to send alerts and attach it to employment details
Neelesh Ben2 is an employee who was hired on 15th Sep 2018 and today is 15th Sep 2019. He has completed 1 year of service.
The sequence of jobs to be run in provisioning is very important. First, we need to run Bizx off cycle event processing Job and then EC alerts and notification Job. Make sure even if you are scheduling them daily, please schedule them in this order only.
First, run the Off cycle job
Please Note Very Important Alert: Bizx Daily Rules batch now is not available in provisioning from 2311. It has to be scheduled from "Scheduled Job Manager" From SuccessFactors Instance(i.e from Admin Center UI)
After this job, the employment details object is modified with the number of years
Now run the EC alerts and notification job on the same day (This would run automatically if scheduled )
You can now check the inbox and alerts would be created
As you can see from above, we are able to achieve this with a simple process by just using EC Objects. There is no additional complexity of Custom MDFs and custom Integration Jobs considering there is an initial limit on 25 MDF objects. This is also performance efficient since it picks up and updates only those employees who have their anniversary on that particular day instead of analyzing all the users.
Some Important Points
Many partners have tried this solution as of 2024 today and have been successful. But I have also received feedback from few partners that in some cases that the alerts are not processed for few users. I am jotting some tips and ways to fix them . If you follow the below points, it will work for all cases. Please note it is not applicable to all. For most of them the standard solution still works.
Reasons of rule not matching can be one of the below :
This would ensure that where if the job is run at midnight and one of these conditions are met at job run at midnight i.e either today() is anniversary day or a day previous to it, the alert will be sent. This is a more safer option and alert rules not matching cases should not take place
I would request you to check the above and if you have any ideas to improve this blog further, please provide your valuable comments.
And also please do not forget to hit the Like button (only if you liked it ?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
3 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 |