In case of multiple HR REPs per employee, how to print appropriate HR REP name in Alert Composer.
Summary:
In case an employee has multiple HR REP assigned, how to print the correct HR REP name in the message template of Alert Composer?
Content (please ensure you mask any confidential information):
Currently using ${AlertUtils.toString(AlertUtils.person(workers.workRelationships.assignments.representatives.PersonId).UserName)} as the recipient expression. However, need to print the name of the repective recipient in the message body as well. Because the employee has multiple HR REPs assigned, the expression prints a comma separated array of all HR REPs names in the message body. Is there a way to resolve this?
Version (include the version you are using, if applicable):
Tagged:
0