Change due dates on HR task when employment start date changes

Rohit54
Mega Guru

Hey all

 

I have a requirement where I do need to update due dates on HR task when any user's employment start date changes. These due dates are being triggered through due date source fields on HR templates. So like if a due date was like 2 days before employment start date and if the employment start date changes from today to 5 days from today, then the due dates on HR tasks should also change from like day before yesterday to two days from now, I want the due dates on any of HR task for the user which is triggered should get updated according to the new employment start date.

Thanks in advance for any help on this.

3 REPLIES 3

Arav
Tera Guru
Tera Guru

Hi,

 

You may want to consider writing an onAfter Business Rule on "HR Profile" table that runs when employment start date changes and updates due date on the HR task. The user in question is the subject person of the HR case to which the HR task is associated.

 

Thanks,

Arav

Bhavesh Bijagar
Tera Guru

Hi,

I assume you are talking about Enterprise onboarding here.

If you have enabled this lifecycle event, you can search for HR Service "Change Start Date". This is OOTB solution available to change automatically the Employment Start date and corresponding due dates of active Tasks.

 

BhaveshBijagar_0-1689922226700.png

 

User can go to My Requests -> Open the LE Case and invoke this service from UI action under "Actions" option.

 

Feel free to mark this information helpful.

All the best.

Best Regards,

Bhavesh

@Bhavesh Bijagar 
Hi, Do you know where is setting shich enable invoke the service from UI action "Action"?

I am thinking about implementing Secondment process and there is a very similer requirement such as change of start and end date. So, I would like to know how OOTB fulfill such a requirement