Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to get approver name using email script

avinashdube
Tera Guru

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

pra16
Tera Contributor

Hey @avinashdube ,

 

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.