Inbound action from specific email to be assigned particular assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 11:04 AM - edited 10-18-2022 11:04 AM
Hello,
I have specific requirement on the inbound action script for emails from specific address ie johndoe@domain.com to be assigned to specific assignment group ( Assignment group B)
Please assist in code the above
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 10:34 PM
Hi.
select action type- Record Action
when to run > from> 'specific user'
in action define-
current.assignment_group='specific_group';
current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 11:12 PM
Hello,
Please add the below code in the inbound action just replace the sysid of the grp with your group sysid
if(email.from=='johndoe@domain.com')
{
current.assignment_group='sysidofthegroup';
}
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 07:05 AM
Hi @Saurav,
Can you share the script? I would like to see if it is possible to implement the same for my requirements.
In my case, when an email sender belongs to a specific domain, the ticket should be created for a specific form. For example, the email sender has a domain of @domain1.com, the inbound action should create a ticket for domain 1 requests form.
Thank you.