Limit visibility of UI link under related links

r2024
Tera Contributor

I would like to hide a UI link under Related Links. I want that link to be available only on DRAFT stage for all DEMANDS.

I know that the condition field controls the visibility of that UI link. 

What is the correct script to put in the condition field?

3 REPLIES 3

Astik Thombare
Tera Sage

Hi @r2024,

 

Please refer to the thread below regarding the UI Action by using the Condition Field:

https://www.servicenow.com/community/itsm-forum/hide-related-link/m-p/880546#:~:text=Please%20find%2...

 

Please let me know if this helps! You can mark this answer as "Correct" if it resolves your issue, and "Helpful" if you find it valuable.

 

Thanks,

Astik Thombare

Hello Astik,

It didn't help me. I need to know the script to put in the condition field to have the UI link to only on the DRAFT stage. 

Hi @r2024 ,

 

Please take help of below script 

current.<column name of Stage Field > == Choice value of Draft 

 

Please let me know if this helps! You can mark this answer as "Correct" if it resolves your issue, and "Helpful" if you find it valuable.

 

Thanks,

Astik Thombare