I have a custom event that will send an email to the help desk when a new employee is created by the HR team. In the email I want to include the Employee name, Person ID, and Department Name (Org Name).
t
The DEPT_NAME custom attribute will not populate with any value. It is written as follows:
COMPANY_ORG_API.Get_Org_Name(&NEW:COMPANY, COMPANY_PERS_ASSIGN_API.Get_Org_Code(&NEW:COMPANY,&NEW:EMPLOYEE_ID,COMPANY_PERS_ASSIGN_API.Get_Pos_Code(&NEW:COMPANY,&NEW:EMPLOYEE_ID,SYSDATE)))
Any guidance would be greatly appreciated.
Thanks
luke