- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 04:10 AM
Hi ,
I need help from you guys ,
I need to hide the variable - in the variable set on the basis of other variable within same catalog item.
E.g My catalog item variable - ABC
My catalog item variable set - variable - 123
now, on the basis of "ABC" , it will hide within variable set - variable - "123"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2024 03:40 AM
I tried some alternate ways because I am not getting the options in the conditions,
So I created conditional-based 5 MRVs and hide based on UI policy > Run script.
Let's say:
1- Catalog item Variable --> Request Type - ABC >
Run script - Variable Set --> Request Value > MRV1 (will show) and other MRV2, and MRV3 will be hide
2- Request Type - XYZ
Run script - Variable Set --> Request Value > MRV2 (will show) and other MRV1, and MRV3 will be hide
Catalog Ui Policy :
Condition - Request Type
Run Script -True
If Yes -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 04:11 AM
You can use the catalog ui policy and with dot walk to varibale set.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 04:17 AM
I possible could you share the piece of code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 04:27 AM
Hi @jaiho_rai
Here is minimum code
These are MRVS, and now you can create tehe UI Action.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 04:59 AM
Hi ,
@Dr Atul G- LNG I didn't get those options , because fixed choice field value , I believe you have chososen the related fields options but in here there is not such option , It directly show the variable set name only.