Add Request Item link from a Workflow notification

Wesley Breshear
Tera Expert

Hello,

Looks this question has been ask in community before but has never received a good answer.   Currently the ${URI_REF} or ${URI} variables appear to not work from a 'Notification' action within a workflow.   Unless I am missing something?   So far some people have mentioned an email script but I am not sure where they are saying it should be placed, within the workflow, of in the email scripts area.  

I am assuming that I might be able to get this to work if remove the Notification action within my workflow and just call event, which then event calls an email notification or email notification template; which then would probably need to have script to pull in the Request Item values/variables.   Is the right?  

Anyone know of a different solution or what should be the best practice solution to this dilemma?

Request_Link.jpg

Thanks!

-Wesley

1 ACCEPTED SOLUTION

vinothkumar
Tera Guru

Hi Wesley,



Kindly add the following HTML tag in your notification and it will work. <a href="nav_to.do?uri=sc_request.do?sys_id=${request.sys_id}">${request.number}</a>



URI_REF not working in few emails


View solution in original post

10 REPLIES 10

Shishir Srivast
Mega Sage

Hello,



Please check if this helps: E-mail Notification link to Incident


Hi Shishir,



I couldn't get the info from this link to work. Vinoth Murugan solution worked perfect.



Thanks!



-Wesley


Rajesh M1
Giga Guru

Hi Wesley,



Yes, one of the way to achieve this requirement is to trigger the event from workflow.



Even from workflow we can trigger the notification containing the link of record in the notification content.



Use mail script to add URL in the notification content.



find_real_file.png



Use this mail script in notification:



find_real_file.png



The resultant email will be as shown below:



find_real_file.png



Hope this solution helps you.



Best Regards,


Rajesh M.


Hi Rajesh,



Vinoth's solution worked perfectly, but thanks for your solution as well.   I am going to need use it for an email notification/template notifying the record Assignee that their case/ticket/record is still open needs to be closed.   This will save me time when I generate that notification.  



Thanks!


-Wesley