hide comma separated string value on field on incident form

fgh1
Tera Contributor

Hi, I have two comma separated values in one field on incident form. and I want to hide other value on condition based.

Is it possible to hide it??

fgh1_0-1703071605145.png

I have field correlation id on incident form. there are 2 comma separated values of string and I want to hide second string which is the sysid of one table on condition based.

 

11 REPLIES 11

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @fgh1 

 

May i know, why you are saving to values in correlation id? and it is not straight forward like a UI policy.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

we don't want to add value in extra field that's why we are storing 2 values by comma separated in one field only for creation of scoped custom app. I am aware that we can't do it easily with UI action. Is there any way to hide only second value o condition base. 

Hi @fgh1 

 

If condition is fixed and value too, the client script will be there, get the regex and then do.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

in this case condition is fixed but not value