The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Clickable Link Variable on Catalog Items

keshav77
Tera Contributor

Hi All, 

 

I want to create one clickable link or variable on the catalog form which will depend upon another variable value.

 

for example I want to see only those incident link  which are open by the user who is submitting this catalog request.

so that link will take the use to the incident table and user able to see those incident which is opened by him.

 

How we can achieve this

open for suggestions

 

@Ankur Bawiskar  any suggestion on this

 

 

1 ACCEPTED SOLUTION

@keshav77 

for your original question and the example you provided, I shared the solution.

you can enhance the logic

but if the link will be dynamic you will have to use variable of type custom and then associate widget to it and form the URL

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@keshav77 

so that link needs to be dynamic based on logged in user?

You can do this

1) create a variable of type Rich Text Label with below URL in HTML

/incident_list.do?sysparm_query=opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe&sysparm_view=workspace

AnkurBawiskar_0-1756477716347.png

 

Output:

incidents raised by me portal rich text label variable.gif

I believe I have answered your question.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@keshav77 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  

 

I'm creating a ServiceNow Service Catalog. That Service Catalog having two variables. One is configuration item, another is state. That state is which is same as the state of the incident form. We have to select the configuration item and the state. Once we select these two things, we have to create one URL which will redirect to the incident which having the same configuration item in it and there with the same state of the incident state. How we can achieve that? We can create a rich text label variables in ServiceNow with the help of these two variables. How we can do that? Can you help me with that?

 

@Ankur Bawiskar  suggestion on this

@keshav77 

for your original question and the example you provided, I shared the solution.

you can enhance the logic

but if the link will be dynamic you will have to use variable of type custom and then associate widget to it and form the URL

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader