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
‎11-07-2022 07:29 AM
getValue returns the backend vale of the data in the field. Which in the case of a reference field pointing at groups would be the sys_id of the group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 07:45 AM
Brian, Thank you for your response. When I first wrote the UI policy I did d it of off the task short description from the flow and it worked great. But now the user wants a variable to populate in the short description.
if(g_form.getValue('short_description')=='IT-Endpoint Architecture Software Packaging Task for.variables.application_name')
I'm not sure how to proceed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 08:06 AM
You can use the assignment group field you just need the sys_id of the group instead of the name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 08:08 AM
Thank you. I will try that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 08:57 AM
Brian,
That worked, thank you.