cancel
Showing results for 
Search instead for 
Did you mean: 

values for email tokens

Former Member
0 Kudos

Dear Experts,

maybe it is a simple question however i am having difficulties finding the answer.

when i use tokens in emails, as for example %TECH_SUPPORT_EMAIL%, where is the value for these coming from? If I want to maintain it where do I look?

Thanks in advance.

venelin

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member207877
Active Participant
0 Kudos


Hi Venelin,

If you want to use the tokens in email then you have to set it in the script.

You can refer  to below example.

For a mail message like "User %RECIPIENT_FIRST_NAME%" have accessed the %DOCUMENT_ID% with the Supplier %VENDOR_NAME%"

To set the above token like RECIPIENT_FIRST_NAME, DOCUMENT_ID, VENDOR_NAME  use below script.

Properties props= new Properties();

recepientname= doc.getDocumentOwnerUserReference().getDisplayName();

documentId= doc.getDocumentId();

supplierName= doc.getVendorRef().getDisplayName();

documentDescription=doc.getDocumentDescription();

props.put(new String("TOKEN1"), "Currency changed to ADP");

props.put(new String("RECIPIENT_FIRST_NAME"), recepientname);

props.put(new String("DOCUMENT_ID"), documentId);

props.put(new String("VENDOR_NAME"), supplierName);

Let me know if this helps.

Thanks,

Raj.

Former Member
0 Kudos

found the answer myself:

Setup >

Company > [comp name] > Tech support Info section on the page.

Closing the thread.