Change Visual Task Board Owner

corbinhicks
Kilo Contributor

how can i change the owner of a visual task board? it would be helpful to create these task boards and change the board owner after it has been created.   alternatively, if we could add other members as administrators to our boards that would be helpful too.

7 REPLIES 7

Patrick DeCarl1
ServiceNow Employee
ServiceNow Employee

Corbin,



Go to vtb_board table and there you will be able to change owner. It's a reference field to sys_user.


i see Sys ID, i don't see sys_user. how do I access and change the sys_user field?


Ah.. There is a ACL that blocks anyone writing to field. Two options. 1. update ACL to allow admin to write or 2. Write a background script to update field.


Cobrin,



If you have admin rights and know SN scripting. Below script will allow you to change VTB owner by running script within the background scripts.




var v = new GlideRecord('vtb_board');


v.get('<sys_id>');   // sys_id of the VTB record.


v.owner = '<sys_id>';   // sys id of the user record you want to make owner


v.update();