Set assignment group based on contact type field in interaction when it is created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 02:38 AM
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!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 03:43 AM
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.