- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 05:42 AM
Hello Team ,
I want to restrict the UI action to few catalog items , for which I have created a sys property and I am referencing the sys property in UI action , but that does not seams to work , cloud you please help me where am I going wrong
Here is what I have used
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2024 12:41 PM
Hi @soumyadaggula,
If it's a comma-separated list, try the following script:
current.assigned_to == gs.getUserID() && gs.getUser().isMemberOf(current.assignment_group) && gs.getProperty('sc.task.create').contains(current.request_item.cat_item)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2024 04:32 AM
Hi @James Chun
I have added 3 catalog items sys_id's "," separated in 'sc.task.create' property .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2024 12:41 PM
Hi @soumyadaggula,
If it's a comma-separated list, try the following script:
current.assigned_to == gs.getUserID() && gs.getUser().isMemberOf(current.assignment_group) && gs.getProperty('sc.task.create').contains(current.request_item.cat_item)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 03:21 AM
Thanks a Ton @James Chun , this worked 🙂