hi bhagyashree,

could you help me with this line as i am getting the error of unnecessary '\ escape character

template.print("<a href=\'" + instanceName + "nav_to.do?uri=kb_knowledge.do?sys_id=" + link.sys_id + "\'>" + link.number + "</a>");

Hi,

As you asked for the escape character issue. I think you are trying to use single quote and you won't close this before using double quote.

https://codegym.cc/groups/posts/escaping-characters-java

Servicenow10
Kilo Guru

find_real_file.pngi get this and when i click on undefined it takes me to correct page

Bhagyashri Sort
Kilo Guru

Are you facing issue in opening link for escape character?

Just try this one.

escape charter

asifnoor
Kilo Patron

Hi,

you did not use link.query() and link.next() in your mail script because of which link.number is coming as undefined

Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.

Regards,
Asif
2020 ServiceNow Community MVP

View solution in original post