- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 04:12 PM
How can I populate Assignment group, based on configuration item on Incident form?
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 10:25 PM
Hi @deepu805,
You need to write Script Include and On change client script as provided below,
Script Include
onChange Client Script
If my response has resolved your query, please consider giving it a thumbs up and marking it as the correct answer!
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 08:11 PM
Hi @deepu805
You can use client script and business rules for populating assignment group based upon configuration item.
Can you provide more details so that i can help you in better way
Thanks and regards
Sai venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 08:52 PM
Hi @deepu805
You can try using the Assignment rule to set an assignment group based on the configuration item.
It will give more privileges to use condition builder to select configuration Items, also you can use a script to call server-side components.
If this solves your query please mark it as correct and helpful!
Regards,
Sankalp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 09:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 09:56 PM
Hi @deepu805 ,
You can use client scripts, business rules, assignment rules.
'Onchange Client Script' sample:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading)
return;
var getGroup = g_form.getReference('cmdb_ci', setAssignmentGroup);
}
function setAssignmentGroup(group) {
if (getGroup)
g_form.setValue('assignment_group', getGroup.support_group);
}
Assignment Rules: Define assignment rules
Mark this as Helpful / Accept the Solution if this helps
Mark this as Helpful / Accept the Solution if this helps.