${URI_REF} not showing Story number.

Naveen87
Tera Guru

Hey Developers,

 

I have used ${URI_REF} opposite to Number.

Instead of showing STRY number it's showing short description of the story.

I have been using ${URI_REF} & it worked as expected. Not sure what wrong here.

Please suggest.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Try something like this:

 template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=task.do?sys_id=' + current.sys_id + ' ">' + current.getValue("number") + '</a>');

Embed in your notification

${mail_script:getStoryNumber}

Best Regards
Aman Kumar

View solution in original post

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

You need to use mail script so as to get number or change it to simply as ${URI} that has text as Link.