Create a list of external urls as a related list on a ticket

 step 1: create a table extending DL [dl_matcher] table:


step 2: populate the table with data per ticket:



step 3: create the relationship [sys_relationship] between task <> url table:




(function refineQuery(current, parent) { current.addQuery('u_ticket_reference',parent.sys_id); current.addQuery('active',true); })(current, parent);







step 4: pull the related list onto the incident (setting the active flag to false will hide the entry):




optionally change it to an embedded list (https://docs.servicenow.com/bundle/quebec-platform-user-interface/page/use/using-forms/concept/c_EmbeddedLists.html )


Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage