Default assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2023 07:37 AM
I want to set a Default assignment group 'MIM Desk' only to the Major case where major_case_state='accepted'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2023 08:07 AM
Did you tried with Business rules.
Set the when to run condition as when the major_case_state changes to 'accepted'
And to the action tab assignment group as 'MIM Desk'.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2023 08:18 AM
I have reference qualifier condition for the group field in Case table already it returns the below value for the normal case but for the Major case I want the group to populate as default when form loads 'MIM Desk'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2023 08:19 AM
HI @Kri ,
I trust you are doing great
To set a default assignment group 'MIM Desk' for major cases with a major_case_state of 'accepted' in ServiceNow, you can follow these steps:
- Create a business rule that runs when a major case record is inserted or updated.
- In the business rule, add a condition to check if the major_case_state field is 'accepted'.
- If the condition is met, set the assignment_group field to 'MIM Desk'.
- Click on "New" to create a new business rule.
- Provide a name for the business rule, such as "Set Default Assignment Group for Accepted Major Cases".
- In the "When to run" section, select the appropriate conditions for the business rule to trigger when a major case record is inserted or updated.
- In the "Advanced" tab, add the following script in the "Script" section:
(function executeRule(current, previous) {
// Check if the major_case_state is 'accepted'
if (current.major_case_state == 'accepted') {
// Set the assignment_group to 'MIM Desk'
current.assignment_group = 'MIM Desk';
}
})(current, previous);
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2023 08:21 AM
I have reference qualifier condition for the group field in Case table already it returns the below value for the normal case but for the Major case I want the group to populate as default when form loads 'MIM Desk'