Set assignment group based on contact type field in interaction when it is created

SK41
Giga Guru

Hi,

I have a requirement where i have to set assignment group through script and not allow user to change it. If the contact type field is "chat" then as soon as the interaction is created then it should assign to "Group A"and if interaction is created via email i.e: contact type field is "Email" then it should assign to "Group B".

I have created the onLoad client script but it is not working. Please help.

Group should get set at the same timeinteraction is created.

Kindly,helpme in this regard.

Thanks!

5 REPLIES 5

There is already onload script that sets the assignmnet group in interaction to Group A. But, i want to set the assignment group to GRoup B for the interactions created from email. But, when interaction is created via email it sets group A .

The contact type is getting set via same inbound by which interaction is created.