Skip to main content
Question

Creating ServiceNow Case Hyperlinks in Reporting or Attributes

  • October 27, 2025
  • 1 reply
  • 26 views

speacher
  • Contributor ⭐️⭐️⭐️⭐️

We have recently set up the ServiceNow connector and I am finding out that it’s much more complicated than Salesforce to map and create hyperlinks in reports.  I’m looking for someone with some experience to solve for creating a hyperlink into our ServiceNow Gainsight reports that will allow the user to click to be taken to the ServiceNow Case external page.  I have the Concat formula method for Salesforce but the issue we are running into with Service now is the link changes based on the type of case created (Support, Finance, Service, etc.).  I don’t see a way to create logic in the formula to change part of the hyperlink based on the first 3 letters of the case number. 

 

Examples:

 https://support.company.com/now/sow/record/sn_customerservice_support/Case [Source ID]

https://support.company.com/now/sow/record/incident/Case [Source ID]

https://support.company.com/now/sow/record/sn_customerservice_finance/Case [Source ID]

 

Case Link – I need to Concat these parts to build a hyperlink:

<a href="

Static Part of the URL

Case type - this changes based on the case type

Case [Source ID]

" target="_blank" rel=nonreferrer">

Link Name

<

/a>

 

Any ideas if there is a field in the data object from ServiceNow that has this yellow part?  Or is there a way to build logic in the Formula to change the yellow part based on the first 3 letters of the case number which I could reference from the report that this link is being created in. 

1 reply

christopher_sanderson
Forum|alt.badge.img+3

May be easier to do this within a Rule that updates your ServiceNow data with the URL needed to get the user to the right place. It would consist of a data FETCH, a TRANSFORM to default or CASE some values, and then another TRANSFORM to put together the final URL.

Then your action would load this back to the row for the ServiceNow case. 

Happy to work through this with you as needed!

Christopher

ECCS Group