Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to use variables with email template

ishihara
Kilo Contributor

I am using the service catalog.
I would like to specify variables in email template and display variables on email.
However, I do not know how to specify variables in email template.
How do I specify variables in email template?

1 ACCEPTED SOLUTION

I don't remember the exact syntax but try



${variables.variablename}


${current.variables.variablename}


View solution in original post

10 REPLIES 10

I don't remember the exact syntax but try



${variables.variablename}


${current.variables.variablename}


I tried it, but that way I could not display the variables.


I have set as follows, but is the method wrong?



Variable


find_real_file.png



event


find_real_file.png


template


find_real_file.png


Notification


find_real_file.png


find_real_file.png


Can we try like.



${request.variables.applicant.getDisplayValue()}


I tried it again and I was able to display the variables.


${variables.variablename}
Thank you very much.