Change of Assignment group as per the incident category , sub category in platform(Native)

ServiceNow10sun
Giga Guru

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 :

 

sunita10_0-1669708154462.png

Please suggest .

Thank you in advance.

@Saurav11  @Ankur Bawiskar 

3 ACCEPTED SOLUTIONS

Mohith Devatte
Tera Sage
Tera Sage

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

View solution in original post

Jerick I
Kilo Sage
Kilo Sage

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

View solution in original post

@ServiceNow10sun 

assignment rule should work from portal or backend i.e. both

did you debug it?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Mohith Devatte
Tera Sage
Tera Sage

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

Jerick I
Kilo Sage
Kilo Sage

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

Assignment rule is not working when incident is created from service portal.

@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