Making field Mandatory on catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 09:05 AM
Hey Experts,
I have RITM workflow which creates 3 catalog tasks, But, I wanted to make one field mandatory on only 1 catalog task and that field should be non mandatory on other 2 catalog tasks.
How can I achieve this?
Thanks,
Rocky,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 09:08 AM
When you say field are you referring to a variable or to a field on the sc_task table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 09:25 AM
It is a field.
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 09:39 AM
Hi Rocky,
you can use this in your onload client script
I assume short description for those tasks would be unique
Determine the task for which you need this to happen by searching for short description
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 04:17 AM
Ankur,
I have the same question. My short description on the task has a variable name in it. Is it possible to still use the short description?
I did it like this, but its not working.
f(g_form.igetValue('short_description')=='IT-Endpoint Architecture Software Packaging Task application_name')
The above didnt work. So I did it based on the assignment group. That didnt work either.
if(g_form.getValue('assignment_group')=='IT-Endpoint Architecture')
Can you tell me what I've done wrong?
Thank you