- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 11:50 PM
Hi All,
My requirement when application category field is 'Access' assignment group should be 'A' , when application category field is 'Platform' assignment group should be 'A' , when application category field is 'Data' then assignment group should be 'C' and when none of the above conditions met then assignment group should be 'D'.
In both scenario incidents are being created via service portal and via platform the the above function should work.
Below is my script which is not working :
Please suggest .
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 12:03 AM
Hello @ServiceNow10sun ,
is this a Business rule ? if didi you configure an before insert BR or an after Insert BR ?
if its an After insert can you try making it before insert and see the result ?
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 12:03 AM
Hi @ServiceNow10sun,
Why not use the OOB functionality to handle the group assignment rather than writing a script? Here is the link to the assignment rule. /sysrule_assignment_list.do?sysparm_userpref_module=4e396c067f0000010016d74aec287a36&sysparm_clear_stack=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 03:43 AM
assignment rule should work from portal or backend i.e. both
did you debug it?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 12:03 AM
Hello @ServiceNow10sun ,
is this a Business rule ? if didi you configure an before insert BR or an after Insert BR ?
if its an After insert can you try making it before insert and see the result ?
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 12:03 AM
Hi @ServiceNow10sun,
Why not use the OOB functionality to handle the group assignment rather than writing a script? Here is the link to the assignment rule. /sysrule_assignment_list.do?sysparm_userpref_module=4e396c067f0000010016d74aec287a36&sysparm_clear_stack=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 02:12 AM
Assignment rule is not working when incident is created from service portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 02:21 AM
@ServiceNow10sun try to use before insert BR for the same code that you are trying
Hope this helps
Mark my answer correct if this helps you
Thanks