Add to an existing variable within an existing variable set without changing the variable set

LJ_23
Tera Contributor

Hi All,

I am trying to add options to a choice box however the Record Producer is using 3 existing variable sets with no variables, UI policies or UI policy actions.

LJ_23_1-1739378902652.png

 

LJ_23_0-1739378878250.png

I want to add 4 options to the case type choice box without changing the variable set itself, as this would affect other record producers using the variable set. 

How would I action this ?

2 ACCEPTED SOLUTIONS

Debasis Pati
Tera Guru

Hello @LJ_23 ,

I would suggest you to create a new variable set and create the same variable in the new variable set and then in the existing variable set you can just create a ui policy to hide the variable set for your record producer on load.
So that it wont affect other items if any and as well as your new variable set is unique to your item so it will work perfectly without any issues.


Please mark it as helpful/correct if it helps you.
Regards,
Debasis

View solution in original post

Debasis Pati
Tera Guru

Hello @LJ_23 ,

Just check the previous variable set and check for the same variable what all things are configured like the ui policy and client scripts.
Just do the same in your new update set in this way you can achieve the same 

Regards,
Debasis

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @LJ_23 

 

Are you planning to add the fourth variable as a new set, or will it be added to the existing three sets? If you add it to the existing three sets, it could impact other areas where the same variable set is being used. However, if you add it as a separate fourth set, it won’t have any impact.

*************************************************************************************************************
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]

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

Debasis Pati
Tera Guru

Hello @LJ_23 ,

I would suggest you to create a new variable set and create the same variable in the new variable set and then in the existing variable set you can just create a ui policy to hide the variable set for your record producer on load.
So that it wont affect other items if any and as well as your new variable set is unique to your item so it will work perfectly without any issues.


Please mark it as helpful/correct if it helps you.
Regards,
Debasis

Hi Debasis,

 

I have cloned the variable set and have managed to hide the fields on the form 

however when I raise the inc I have to manually enter the options 

LJ_23_0-1740051254135.png

prios to this they were already inputted based on the selection of the form

LJ_23_1-1740051291141.png

could you provide insight into this?

 

Debasis Pati
Tera Guru

Hello @LJ_23 ,

Just check the previous variable set and check for the same variable what all things are configured like the ui policy and client scripts.
Just do the same in your new update set in this way you can achieve the same 

Regards,
Debasis