
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 12:41 PM
I am trying to combine two groups. I have a "Physician Support" group and a "Clinical Support" group that I want to just merge into "Clinical Support" group and do away with "Physician Support." We are doing this through AD. How can I complete this? How would all the past historical reporting and tickets look like?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 02:07 PM
You can run one time fix script to assign records from task to "Clinical Support " group.
var task = new GlideRecord('task');
task.addEncodedQuery('assignment_group=aaccc971c0a8001500fe1ff4302de101'); // sys_id of " Physician Support" group in your case
task.query();
while(task.next()){
task.assignment_group = "sys_id"; // sys_id of clinical support group
task.update();
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 12:53 PM
Hi Bryant,
You need to first add members in Physician Support to Clinical Support.
Then in task table, assign all active and inactive records assigned to Clinical support.
Then deactivate the Physician Support group.
If there are any assignment lookup rule exists for Physician Support, point it to Clinical Support.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 01:22 PM
I added all members into Clinical Support within AD and see them now in ServiceNow. I am in the task table, how do I assign active and inactive records? I'm little lost on this part.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 02:07 PM
You can run one time fix script to assign records from task to "Clinical Support " group.
var task = new GlideRecord('task');
task.addEncodedQuery('assignment_group=aaccc971c0a8001500fe1ff4302de101'); // sys_id of " Physician Support" group in your case
task.query();
while(task.next()){
task.assignment_group = "sys_id"; // sys_id of clinical support group
task.update();
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 05:31 PM
Thanks that worked!