Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Private Task to be accessible to Assign User

Sarah Austria
Tera Guru

How to make the PTask be accessible to assigned_to user without the need to promote as a member of the dashboard.

So for example, x user assigned the task card to y user without making the y user [or assignee] as a member of the task board of x user. Once an email notification received by the Assignee that a task has been assigned. The assignee should be able to access the card from the link in the email or by looking the ptask number in the global search.

3 REPLIES 3

sachin_namjoshi
Kilo Patron
Kilo Patron

PTasks are maintained in vtb_task table.

ITIL users can work on private tasks OOB.

 

Assigned to users can open list of using vtb_task.LIST in their navigator and work on these tasks.

 

Regards,

Sachin

 

 

priya149
Mega Contributor

I am having the same query. did you find solution for that?

Also when private task is created from checklist there is no option to see it again?

Amend this 4 acl's like this.

 

  • ACL = vtb_task (read) - answer = VTBTaskSecurity.canRead(current.sys_id)||current.assigned_to == gs.getUserID();
  • ACL = vtb_task (write) - answer = VTBTaskSecurity.canWrite(current.sys_id)||current.assigned_to == gs.getUserID();
  • ACL = vtb_task.* (read) - answer = VTBTaskSecurity.canRead(current.sys_id)||current.assigned_to == gs.getUserID();
  • ACL = vtb_task.* (write) - answer = VTBTaskSecurity.canWrite(current.sys_id)||current.assigned_to == gs.getUserID();