Task Assignee cannot see the parent case.

cwillard
Tera Expert

I have an HR Service that has tasks assigned to each case. The people assigned to the tasks are different than the person assigned to the parent case. Is there a setting I can change that will allow the person working on the task to also see the parent case information? They do have the right access settings to see the data on the parent case, so its nothing about their access to a table, but they cannot find it when they search for the case number. It simply doesn't appear for them. 

2 REPLIES 2

Suzanne H
Giga Guru

@cwillard Add the Assigned to person on the Task to the watch list on the case.

Community Alums
Not applicable

Hi @cwillard ,

This is by design. The Server Script of the HRM Case Info widget and found the case description will only appear if you are openFor or it is approval task. 

Now, i beleive there would be a Group created for the HR agents who takes care of these cases, so what you can do is add the group to the Watchlist , use the below Script (OnBefore BR) :

function onBefore(current, previous) {
   
      var grpMembers = new GlideRecord("sys_user_grmember");
      grpMembers.addQuery("group",current.assignment_group); // Add your Group's sys_id
      grpMembers.query();
      while(grpMembers.next()){
              var user =(','+ grpMembers.user);
              current.watch_list += user;
      }
}