I want to make an email alert if a rep has left the company (Rep profile user account deactivated) and has outstanding programs.
So I want to put in the email template his name, his role, and his outstanding programs if any, but I got stuck. I got an email alert with the username, with {!Target_User.Name} in workflow rule but his role and his outstanding programs don't show.
This email template not getting required information
"
Hi {!Receiving_User.Name},
This has been observed that rep user got deactivated and his details as below.
Name : {!Target_User.Name} ,
Employee Role:
Termination date: {!Today};
Outstanding Programs:
"
I am getting rep profile name and termination date if I deactivate rep profile user but his role and outstanding programs which he is the owner not getting. Rep user is the employee of the org so we have custom object Employee and in that custom object, we have related list for participant which has that programs name, role, status. How can I put it this deactivated rep user information in the email template where Home office user will get it.