Making catalog task variable readOnly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2023 09:43 AM
Hello friends,
There are 3 editable variables on catalog task form.
1. checkbox
2. Emp ID
3. Temp ID
If the check box is selected then the Emp ID should be read only.
I cannot fetch the checkBox variable in UI policy condition.
Even the checkBox variable is not available in onChange Client Script's Field Name list ??
How to set this condition in UI policy or onCHange client script's Field name? Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 12:36 AM
Hi @Asmita7 ,
Please post the screenshot of the variables and where they are created and then also post the screenshot of the UI Policy you are trying, the variables should be created under catalog item or part of the variable set added on to the catalog item for them to appear under UI Policy.
Please mark helpful/correct if my response helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 07:25 AM
Hi @Asmita7
Lil confuse by reading the statements, if you provide screenshot that will be more good.
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
01-01-2024 06:17 PM
Hi @Asmita7, All the variables created on Catalog Item should be available for UI Policies and Client Scripts. I just implemented your logic in my PDI and its working as expected. It will be good to assist if you can share the screenshot of the variables and the UI Policy that you have in place.
Regards,
Sunil