How to get approver name using email script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 02:41 AM
I have a requirement to print the approver name using email script , below is the script , it is printing the state not the approver name.
if(stateRitmNumber == "requested")
{
template.print("<br><br><Strong>State : Pending Approval of ${approval}");
}
else
{
template.print("<br><br><Strong>State : </strong>" + stateRitm);
}
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 02:48 AM - edited 02-23-2024 02:55 AM
Hey @avinashdubey103 ,
Based on my understanding approval field doesn't hold users. Try 'assigned to'/'Requested for' or any user reference fields in the table and validate if it meets the requirements.