You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to add days/weeks to a Hire date token in Alert Composer template and Message section?

Received Response
32
Views
3
Comments
edited May 4, 2023 8:10PM in HCM REST APIs 3 comments

We have a requirement where a notification(mail) to be triggered to Line Manager with details about the worker email, hire date, Date to be calculated based on 8 weeks after the hire date, Date to be calculated based on 16 weeks after the hire date, Date to be calculated based on 24 weeks after the hire date used for probation review dates for Line manager.

Currently Used tokens in the Message section:

${AlertUtils.toString(AlertUtils.empManagerList(workers.PersonId).WorkEmail)}

${AlertUtils.person(workers.PersonId).WorkEmail}

${AlertUtils.formatDate(workers.workRelationships.StartDate,'dd/MM/yyyy')} fetching Hire date

Not working:

${workers.workRelationships.assignments.JobName} this is not fetching job name. Instead giving null value

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!