Creating a link to the RITM in a catalog task in a workflow

BigMikeyVegas
Tera Guru

I am attempting to create a workflow task that either IT Orders to Purchasing have an action. They need to generate and attach a document to the RITM for the Task. I have the script that i want to use, but I want to make this as easy for the team members as possible, especially since they dont have a lot of technical experience.

The script is :

task.description = "Generate and Attach the OR to " + current.number.getDisplayValue() + ". Once the task is closed, the information will be sent to Purchasing for the PO to be created.";

The portion in red, I want to turn into a URL that points to the RITM. Currently, it solely displays the RITM number. Is this possible. I tested the method in the link below, and may have done something wrong, as it caused the task to be skipped entirely.

https://community.servicenow.com/community?id=community_question&sys_id=8670db29dbdcdbc01dcaf3231f961951&view_source=searchResult

 

2 REPLIES 2

Brian Lancaster
Tera Sage

Are you just trying to make an easy way to get from the task to the attachments on the RITM?  Is so I would suggest using this blog post.

Thank you. I actually have done that. 

 

My ultimate goal is to have the attachments on the RITM, so when the approval email is sent, it will display clickable links for the approver to download and review the attachments. I have all of that in place, I simply want to add a link so that the 'fulfiller' can click it to take them to the RITM. I know that they can click the  (I) next to the RITM field to accomplish this, but there is a 'sliding' scale in SN proficiency within the specific fulfiller groups, as they are not IT, so they are not in it day in/day out.