Default Assignment Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2014 10:27 AM
We have several groups, that we use for workflows and change request forms, in our ServiceNow instance that have the same users and we are wanting to have a default group set up for each user. That way when they fill out change request forms or are filling out an incident a specific group will always populate the same group. I have added a 'Default Group' true/false field to the list under each group and have set those individuals to true. However, I am assuming I would need to set a default value for the assignment_group field on the task table to pull the group with default group = true. However, I'm not quite sure what needs to be entered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2014 10:52 AM
Hey Lindsey,
I think all you would need is a reference field on the sys_user table that references the group table. You can name this field something like 'Default Group'. Then if a user submits a change request you can check their user record for a default group and assign it that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2014 12:05 PM
I tried this but I am having difficultly on what needs to be put in the 'Default Field' for assignment_group because I want it to reference this Default Group Just just a matter of dot walking?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2014 01:09 PM
If I understand correctly, you want to have a default "Assignee" for each of these groups.
The way you did it is doable but less efficient as you need to script a glide record in order to filter and fetch the user, also, you would need validation to make sure there is only one default assignee per group.
What I would suggest doing is creating a field on the Group table [sys_user_group] that references the User [sys_user] table called "Default analyst" [u_default_analyst] or something like that.
Then, from the workflow make a direct reference to this user with something like current.assignment_group.u_default_analyst
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2014 01:37 PM
Thanks for the guidance on this. I actually want a default group for each user, sorry if I wasn't clear.