Can we Remove related list for specific user using Access controls List?

sony8
Tera Contributor

Hi ,

 

I have a requirement .

 

we are having Request and tasks for our forms.

For Requestor (related list tasks) the tasks created should not be visible.

 

can we write ACL to remove the related list for specific user ??

 

there is a Comment (journal input field) , we need to show the most recent comment for requestor.

Is this doable?

 

 

 

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@sony8 Instead of creating ACL, you can use the Client script to hide the related list. Please refer to this thread for more details https://servicenowguru.com/scripting/client-scripts-scripting/hiding-related-lists-embedded-lists/

@Sandeep Rajput  Actually why I am going with AcL because.. in client script or ui policies we can hide related list but the problem is if the person has url of the record he can able to see the details..  

@sony8 You can choose to create a scripted read ACL on your task table and check if the logged in user is requestor of the current record. If the evaluation is 'true' then you can choose to set answer=false which will ultimately hide the record via ACL.

@Sandeep Rajput  I have tried creating ACL on Task table

given condition as Requestor is dynamic me

and set answer to false.

 

But i am able to see tasks for requestor login.

i tried above UI policy also 

None of them are working for my scenario

 

ANy suggestion please let me know