How to put a condition based on Request item name in client script for sc_task table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 01:56 AM
Hi All,
Actually i have a requirement that i need to do make some fields mandatory and read only on the catalog task form based on one field choice , so i need to do this only one particular catalog item only, so for that in client script i need to put a condition like if catalog item is this, then only those fields mandatory or read only
Please help me to achieve this
Thanks
Deepika

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 02:41 AM
Hello @Deepika61 ,
You need to create catalog UI policy for sc_task table for making fields Mandatory,Apply conditions as below
Inside condition you should dot walk the item name and paste your catalog item name in my case I have used Request access catalog item and choice field will be select option
So in my scenario if the catalog item is Request access(catalog item name) and the select option(Choice field) is Yes then make Assigned to field mandatory.
Result as follows :
Thanks!