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.

Email template

Anantha27
Mega Guru

In the email template I have written some code that contains "href" it is assigned to url, instead of the url I need to create a system property and call that sys property using gs.getProperty().. Is it possible to use the system property in the email template..

2 REPLIES 2

SN_Learn
Kilo Patron
Kilo Patron

Hi @Anantha27 ,

 

You can use gs.getProperty() in the notification email script and call notification email script in the email template.

 

${mail_script:<notification_email_script_name>}

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Hi @Anantha27 ,

 

If it resolved your query, please accept it as solution.

If any queries do let me know.

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.