Create ACL on SC TASK table for the visibility of the 'New' button

Bindhu1
Tera Contributor

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?

 

Bindhu1_1-1695224631245.png

 

Bindhu1_0-1695224564184.png

 

1 ACCEPTED SOLUTION

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.

View solution in original post

6 REPLIES 6

Vijay Balotia1
Tera Guru

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

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

Bindhu1_0-1695266689505.png