- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 08:45 AM - edited 09-20-2023 08:47 AM
Hi ,
I need to give create access to certain group and specific catatog item on sc task.
I have created below script but the script is not returning true , may i know where is the issue here?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 04:32 AM
If you haven't, try with just the one condition being your second condition. Then you're down to ensuring the Name on the Catalog Item is exactly 'Copy Editing' (case-sensitive, no trailing space,...). I tried a mockup of this in my PDI and it worked with both
if (current.parent.cat_item.getDisplayValue() == 'Copy Editing') {
and
if (parent.cat_item.getDisplayValue() == 'Copy Editing') {
where parent in the second example refers to the RITM record since this action is on a related list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:19 PM
Hi @Bindhu1,
Try This
answer= (gs.getUser().isMemberOf('Administrative Business Center-Agents') && current.parent.cat_item.getDisplayValue()=='Copy Editing'));
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Thanks
Vijay Balotia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 08:25 PM
Hi @Vijay Balotia1
I try the above code but i still see the same issue , he is not able to see the new button on related list of sc task