Based on the application name in the alert need to set the assignment group in incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 02:15 AM
Hello,
Could anyone please help me on the below requirement.
We have many business application and for the job fail the alert is getting recieved.Now we need to automate the incident creation.
We have used the OOB the create incident inbound action and the incident is getting created. But could anyone please how to set the assignment group for the business application that is always in the 1st position of the alert notification. need to set the business application support group in incident assignment group based on this business application name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 03:04 AM
Some additional input is needed: your alerts are coming in through email? Is that correct?
Then: can you share how the email is looking, or at least the body where the application is set. Because once you are able to put that on the form, you can easily use assignment rules to assign the tickets (assuming you have the group available on the business application form).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 03:15 AM
Hey @Mark Manders,
The email is alert kind email.The subject of the email Like :Alert SAP BI: job name.
SAP BI is Application Name. The group name is available in business application table for each application.
Please let me know how to configure. and also please help me how to do in inbound action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 03:35 AM
var subject = email.subject;
var applicationName = "";
var colonIndex = subject.indexOf(":");
if(colonIndex !== -1){
applicationName = subject.substring(6, colonIndex).trim();
}
And then you do a lookup to your table to get the sys id of the business application to put in the reference field of the incident. This will work as long as it is always the same: "Alert" + application + ':', because it gets everything between alert and the colon.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark