How to create multiple incidents from one inbound email
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2022 01:20 PM - edited 10-02-2022 01:28 PM
Hi all,
I'm required to create multiple tickets assigned to different groups from a single inbound email, how would I do that? Thank you
Regards,
Sharon
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 12:23 PM
Sharon, did you get a solution for this?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 12:23 PM
This didnt work for as well, i tried creating two inc and it only created the second one
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 02:10 AM
Hello @Sharon24
Please check with below script:
createIncidentRecord("pass sys_id of System group");
createIncidentRecord("pass sys_id of Tech group");
createIncidentRecord("pass sys_id of Applications group");
function createIncidentRecord (assignmentGroup) {
var incidentRecordGR = new GlideRecord("incident");
incidentRecordGR.initalize();
incidentRecordGR.caller_id = gs.getUserID();
incidentRecordGR.short_description = email.subject;
incidentRecordGR.assigned_group =
incidentRecordGR.insert();
}