on incident form whenever incident promote to major incident assignment group should change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 01:01 AM
Before promoting to major incident there is some different assignment group , after promoting it to major incident the assignment group should change , if created a assignment rule which is not working , i have given a condition as whenever major incident state is accepted then assignment group should be assignment group manager , which is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 03:28 AM
Hi,
You can create after business rule on incident table -
Type- After
Table - Incident
Condition - type changes to Major or type is major
Script -
current.assignment_group = <GROUP SYS ID>;
Please mark my answer as correct if this solves your issues!
If it helped you in any way then please mark helpful!
Thanks and regards,
Shalini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 03:52 AM
Hello,
Please do the below:-
Create a after update business rule with condition as Major incident state is accepted.
In the script copy paste the below code(Replace the sysidofthegroup with your group sysid)
(function executeRule(current, previous /*null when async*/) {
current.assignment_group='sysidofthegroup';
current.update();
})(current, previous);
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 03:59 AM
Avoid current.update in business rule due to recurssions