- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 03:00 AM
Hi All,
we have created a business to update the activity of incident whenever there is an update on incident task.
whenever work notes and additional comments of incident task gets updated, we are copying the respective work notes and additional comments of incident task(s) to the work notes and additional comments of incident.
Incident activity is looking like below
ex: Work Notes of INCTASK01: <abc>
Additional Comments of INCTASK01: <xyz>.
We want task number in this activity of Incident, in this INCTASK01 to be a hyperlink.
We tried to do, it is not treating that as a link and displaying whole text as below:
Work Notes of <a href=" https://dev55548.service-now.com//incident_task.do?sys_id=9d21940f37229b8046c5c93754990e5c ">ITASK0106208</a>: qwqwqw
Please suggest possible solution.
Note: We are on Istanbul version.
Thanks,
Punit
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 05:26 AM
Have you taken a look at this? Docs: Render journal field entries as HTML
Can you test it manually (enter the code tags and HTML manually) before putting it in BR?
Have you also taken a look to see if you have validation on? Docs: Validate HTML in Journal fields
Is the HTML Sanitizer involved? Docs: HTML Sanitizer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 03:05 AM
try like below
current.<field name>= 'https://'+ gs.getProperty('instance_name') + '.service-now.com/' + current.getTableName() + '.do?sys_id=' + current.sys_id;
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 03:24 AM
Hi Harish,
I have already tried this. It gives me the whole link as a text.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 04:28 AM
Hi,
Try enclosing the snippet in [code]. You may refer link once.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2018 05:05 AM
hi Jaspal,
used [code] but still not working