- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:22 PM
Hi Team,
Can anyone help me please. I have a field on variable editor when catalog task is close complete should be mandatory.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:33 PM
Hello @Vinya Jakkula ,
You can use UI Policies (not Catalog UI Policies) on sc_task table with the specified conditions (meaning if catalogue item is so and so then......) and make variable mandatory using Run Script
g_form.setMandatory('your_variable_name',true);
find below screen shots
Thank you
G Ramana Murthy
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 01:25 AM
Hello @Vinya Jakkula ,
You have to write both Condition if true and Condition if false scripts
Thank you
G Ramana Murthy
ServiceNow Developer