Hide Service Request record for a particular item to all the Users

Aryan
Tera Contributor

Hi All,

 

We have an Service Request "Payslip Support" users can raise the RITM by following emails:

1. By sending the email to payslip@abc DL and via Inbound action it will generate a RITM record.

2. By navigate to the portal and raise manually.

 

Suppose user A is creating the SR via inbound action so I do not want others users to see their sc_task beacuse it is having the sensitive data related to their payslip? Can anyone help me to hide the other users task and user only see their task.

 

Note : We already tried Query BR and it is hide the existing tickets but when User try to create a new ticket via #1 or #2 it is not working.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Aryan 

if they raise the request manually for themselves they can only see REQ, RITM. how are they seeing sc_task?

You can use query BR on the table and show the records based on requested_for and compare against logged in user

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

HI @Ankur

 

Our basic requirement is to hide REQ,RITM,Sc_task record for all the users except the requested for,opened by, ITIL_admin, admin.