- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2023 10:18 PM
Hi Team ,
only for particular catalog
We want make this SCTASK00001 ( as a url ) if user clicks on that means it has to redirect to that sctask .
In the same SCTASK we are populating this message in worknotes also . in worknotes also it has to be url
can anyone please provide me step by step solution to achieve .
Please provide screenshot for better understandig
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 12:13 AM
Just put quotes around sc_task
var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+'sc_task' + '.do?sys_id=' + gr.sys_id + '" target="_blank">' + workflow.scratchpad.task_number + '</a>[/code]';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 12:26 AM
Hi @Sonam_Tiwari Thanks a lot
It is worked , but it came as separate comment ,
the url as to there in these sentence
Please review the attachment on the SCTASK0011933
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 12:34 AM
Keep this.
var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+'sc_task' + '.do?sys_id=' + gr.sys_id + '" target="_blank">' + 'Please review the attachment on the '+workflow.scratchpad.task_number + '</a>[/code]';
Remove the previous part that you had.
task.work_notes = "Please review the attachment on the " + workflow.scratchpad.task_number; // Retriving the Access Provision SCTASK num and updating the worknotes entry