How to display unique URL on incident form using glidefunction?

thrsdy1512
Tera Expert

I want to add a field field on their Incident form which displays a clickable URL to integration related problem rec to a given incident. The problem record is not a SNOW record, it is a record that is held on a different system and the URL will be unique to that particular incident.Eg,  

Source environment creates problem rec  > SNOW incident is logged > incident form has field that displays a link to the problem record in the source environment > user clicks the link to be taken to the problem rec in source env. 

 

I would like to incorporate the following function is possible:

 

glidefunction:concat(u_XXXXXX_source_environment,'/#problems/problemdetails;pid=',correlation_id)

 

 

What is the best way to do this? So far I have tried to do it as a function field and a URL but been unsuccessful.

 

2 REPLIES 2

Mark Manders
Mega Patron

First: I assume this is about ServiceNow and not about Snow? Since that's a completely different platform, it could be you are on the wrong community.

 

If it is ServiceNow: how are you integrating between these systems? How do you relate any incident to any problem? Your explanation skips over the relation between these systems. If you expect a link to show on a form, you must have some kind of recognition between the two systems.

 

Next to that: what is your reasoning for wanting to use that function? You show it here and say 'if possible incorporate this'. Why?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Robbie
Kilo Patron
Kilo Patron

Hi @thrsdy1512,

 

I'm struggling a little on a high level as to how a URL field cannot handle this for you.

Whilst I understand the value of the URL field is not static as it were, and is calculated, however essentially once it has been calculated it could be stored within this field.

At what point will you have the respective attributes in order to build this URL? Will it be once the Problem record is created or perhaps in a certain state? Once you have everything you need, you simply calculate it via a script or appropriate means and then store it in this URL field.

The question is - when and at what point do you need to calculate it - I assume this is not calculated onLoad.

 

But in short - a URL field can handle and store this value as well as provide a clickable URL for the end users.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie