Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Inbound actions

kali
Tera Contributor

Hi All,

I want to populate assignment groups based on subject of the mail via inbound action scripting, but                               current. assignment_ group ='sys id of group' is not working. It shows error as cannot assign null value to the group sys  ID . Please help me on this.

Thanks in advance

2 REPLIES 2

Not applicable

Hi @kali ,

Use this one :

 

current.assignment_group.setDisplayValue('Your Assignment Group');

Harish Murikina
Tera Guru

Hi @kali 
1. Please check if reference qualifier condition allows the group when you try to select the group manually.

2. If you are able to select manually then it should work if you use current.setValue("assignment_group", "Group_Sys_ID");


Regards,

Harish Murikinati.