For more information, please refer to this announcement explaining best practices for getting answers to questions.
Alert Composer: Using Worker Resource Unable to find Worker Latest Hire Date expressions in Msg Text
Summary:In Alert compose, using worker resource we are unable to find the Worker Latest Hire Date using expressions in Template --> Message Text.
We are using Worker resource as emps is going to obsolete after release 23D.
We tried below expressions, but it is failing for rehires and global transfers. Either it is giving multiple dates or picking pending worker record hire date instead of employee record hire date.
${workers.workRelationships[0].StartDate} :2021-03-01
${workers.workRelationships.StartDate} :[2021-03-01, 2023-05-02, 2021-02-03, 2023-04-18]
${workers.workRelationships[0].LegalEmployerSeniorityDate}:[2021-03-01, 2023-05-02, 2021-02-03, 2023-04-18]
${workers.workRelationships.EnterpriseSeniorityDate} :[2021-03-01, 2021-07-02, 2021-02-03, 2021-03-01]