Assignement script not working and not sending to the correct group

Roshni1
Tera Expert

Hi All, 

 

My scripting knowledge is not that great but in the past I was able to just change the "Issue" type and add the sys_id for the group I wanted all incidents directed to however it is not working and they are all being sent to our Service Desk. 

The incidents are being submitted thru the SP by our clients. 

Is my sript wrong here and should I be adding something more in.. 

 

Roshni1_0-1753898314114.png

 

Thanks in advance

 

1 ACCEPTED SOLUTION

DGAJ
Mega Guru

Hi @Roshni1 

You can do this with Assignment rule Rule : https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/task-

 

OR you can store the group sys_id in the value field of a sys property, then use the gs.getProperty('my.property') to retrieve it. 

 

To troubleshoot , check if there are existing scripts which auto assigns to SD

 

Thanks,

DJ

DGAJ

View solution in original post

5 REPLIES 5

DGAJ
Mega Guru

Hi @Roshni1 

You can do this with Assignment rule Rule : https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/task-

 

OR you can store the group sys_id in the value field of a sys property, then use the gs.getProperty('my.property') to retrieve it. 

 

To troubleshoot , check if there are existing scripts which auto assigns to SD

 

Thanks,

DJ

DGAJ