Want to add assignment groups in Created Visual task board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 02:45 AM
Hi All,
I want to add Assignment group in my visual task board but i don't know how to do that.
Pls help.
- Labels:
-
Request Management
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 02:58 AM
Hi Nikita,
Do you want to add assignment group field in the cards of the VTB? If yes then follow this link.
Mark the comment as a correct answer and also helpful if this helps to solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 03:19 AM
Hi Asif,
I don't want to add it in the card. I want it on the board. Just like users i can add, in the same way i want to add assignment groups.
Regards,
Nikita

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 03:51 AM
Ah Okay. You cannot add a group directly here.. Not sure if you can use flow as flow also require some action for it to trigger.
Here is the script which you can use to run it on fix script
var gr = new GlideRecord("sys_user_grmember");
gr.addQuery("group","0c4e7b573b331300ad3cc9bb34efc461"); //put yoru assignment group sys_id
gr.query();
while(gr.next()) {
var board = new GlideRecord("vtb_board_member");
board.initialize();
board.board="e807dd211b13981012c0dc6cdc4bcbb9"; //mention your VTB sys_id to which you want to add users
board.user=gr.user.toString();
board.insert();
}
Mark the comment as a correct answer and also helpful if this helps to solve the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 02:59 AM
Hi,
VTB's only support adding users rather than group members for board visibility. Boards to User membership is stored in the vtb_board_member table.
What you can do is create a flow to loop through a group membership and add the user(s). There is an Add VTB Member action that comes with flow designer.