
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 08:57 PM
I am trying to add a UI Action (which I have done) to the RITM, but what I haven't been able to do is restrict it to only one particular catalog item and only for people who are members of a particular assignment group (which the RITM is NOT assigned to)
The sys_ids are as follows:
Catalog item - 7375a4a249e78e10b68e4b9ef4563020
Assignment group - 8e4265bd9438161019c03cc49341f057
So I have tried the following, none of which have worked for me - the UI action continues to show no matter what I add.
(tried the first one just to at least restrict it to the item type, also didn't work when deleting the condition requiring it to be active)
- active==true&&cat_item=='7375a4a249e78e10b68e4b9ef4563020';
- cat_item=='7375a4a249e78e10b68e4b9ef4563020'&&gs.getUser().isMemberOf('8e4265bd9438161019c03cc49341f057');
Assistance would be great thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 09:14 PM
hi @Bidduam ,
can you try like this
current.cat_item=='3416617293834210260bb2ddfaba10ec' && gs.getUser().isMemberOf('477a05d153013010b846ddeeff7b1225')
you can try this way as well
stored the sysid in system properties one for catalog item and one group
current.cat_item==gs.getProperty('sys_id_of_item') && gs.getUser().isMemberOf(gs.getProperty('sys_id_of_group'))
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 09:14 PM
hi @Bidduam ,
can you try like this
current.cat_item=='3416617293834210260bb2ddfaba10ec' && gs.getUser().isMemberOf('477a05d153013010b846ddeeff7b1225')
you can try this way as well
stored the sysid in system properties one for catalog item and one group
current.cat_item==gs.getProperty('sys_id_of_item') && gs.getUser().isMemberOf(gs.getProperty('sys_id_of_group'))
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 09:38 PM
@Bhavya11 Sorry I retested both options that you offered with the correct sys_id's and they both work without any issues.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 09:32 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 09:40 PM
Hello @Bidduam
Can you try like this?
current.cat_item=='3416617293834210260bb2ddfaba10ec' && gs.getUser().isMemberOf('Name of the group')