Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Prerequisites
Ensure that you have configured the Mailbox before you configure the Notification Parser. For more information about configuring Mailbox, refer Configuring Mailbox.
After configuring the Mailbox, configure the Notification Parser so that Service Request can be automatically logged from the Email sent. Notification Parser is where you need configure the Parsing Keys, Conditions, and Field Mapping.
To configure Notification Parser:
- Select Admin > Advanced > Notifications > Notification Parser.
- On the NOTIFICATION PARSER page, click ADD NEW on the ACTIONS panel. The following page is displayed.
Figure: NOTIFICATION PARSER page - Select the Tenant and fill in the required details.
- Fill in the other required details under CREATE Tab.
- Click SUBMIT. A new Notification Parser is configured.
Anchor Field Description Field Description
Field Description
Field Description | |
Field Description |
The following table describes the fields on the NOTIFICATION PARSER page:
Field | Description |
---|---|
DETAILS |
|
Parser Type | Select the Notification Parser type as Email. |
Rule Name | Type in a unique rule name. You can specify multiple rule names for a Tenant. The newly configured rule name gets appended to the Copy Existing list. Note: A rule name can contain alphanumeric characters. |
Copy Existing Rule | Lists the configured rule names for a Tenant. If you wish to use the existing rule, select the rule name from the list. A confirmation message is displayed: "Do you want to use the selected rule details to create new rule?" Click OK. The selected rule name is displayed as Copy of <Rule Name> value in the Rule Name field. This can be renamed. |
Create User | If selected, a user is created whenever the User ID is not available in the User list for the configured e-mail ID. For example, if you specify the e-mail ID as ‘xyz@anzcorporation.com’, and if the ‘xyz’ user is not present, the application creates the user as xyz. By default, the access is given for IM module for the newly created User ID. |
Time Zone | Select the time zone to which the new users have to be assigned. This field is displayed only when the Create User check box is active. |
Assign Role Template(s) | Select the Role Template to which the new users have to be assigned. This field is displayed only when the Create User check box is active. |
Send Notification | If selected, an e-mail notification with login credentials is sent to the newly created user. This check box is displayed only when the Create User check box is active. |
Minimum/Maximum Attachment Size (KB) | Specify the minimum and maximum size of the attachments in Kilo Bytes (KB), to be included in the Service Requests > Attachments. |
Allow Domains | Specify the domain names for which the request-related-e-mails are generated as a service request. |
Restricted E-mail IDs | Specify the restricted e-mail ids for which the service request(s) are not generated. |
Action for Resolved Incident | If the e-mail is received for a resolved Incident, select an action from the list. |
Action for Processed E-Mails | Select an action from the drop-down list that you want to perform on the processed e-mails. You can either delete the processed e-mails or move them to specific folder. If you select Move to Folder from the drop-down list, you can type the folder name in the text box that is available with the Action for Processed E-Mails drop-down box. |
Folder Name | If you have selected ‘Move to Folder’ option then you need to specify the Folder Name in this field. |
Enable CI Correlation | For Email to SR creation, enable the CI Correlation check box. If selected, the CI Correlation configuration becomes active. |
Active | If selected, the Notification Parser configuration becomes active. |
Order Number | By default, the order number is blank. Notification Parser Rules can be assigned an order number. The order number is the deciding factor when email matches 2 rules. Rule with lower order number is processed first and given precedence over rules with higher order number. |
Configuring Order Number
Each parsing rule created can be assigned an order number. When an email matches the conditions defined in two rules then Order number decides which Rule must be used for processing the Email.
Highest priority is given to rules with lowest order number when multiple rules are matched. For example, order number is assigned as:
- Rule A assigned Order Number 1 for Service Catalog ‘Windows’
- Rule B assigned Order Number 2 for Service Catalog ‘Linux’
- Rule C assigned Order Number 3 for Service Catalog ‘MAC’
An email is sent with Subject ‘Install Operating System’ that matches all the above 3 Rules. The Order Number of Rule A is the lowest, hence Rule A is given highest priority to process the Email for Service Catalog ‘Windows’.
Note |
---|
If the email matches two rules with same Order Number or Order Number is not specified then the Rules will be executed based on maximum match and based on which rule was created or updated first in the system. |
Configuring Parsing Keys
To define the Parsing Conditions, you first need to define the Parsing Keys. By default, there are four system defined Parsing Keys such as: Subject, Description, From Email ID, and To Email ID.
Field Description
Field | Description | ||||||
---|---|---|---|---|---|---|---|
Parsing Type | Lists the configured e-mail types:
| ||||||
Line Delimiter | Lists the configured line delimiter. Select the line delimiter from the list. By default, New Line option is selected. If you select Others, type in the character that has to be considered as a line delimiter in the text. | ||||||
Key Delimiter | Lists the configured key delimiter. Select the key delimiter from the list. By default, Colon option is selected. If you select Others, type in the character that has to be considered as a key delimiter in the text box. | ||||||
Body Line # | Type in the line number that contains the key.
| ||||||
User-Defined Key | Specify an e-mail template name for the key value. By default, you can view Subject and Body as system defined templates. As per the needs of e-mail parsing, you can add more templates to the list. Let us consider the below email: Mail Content:
Dear User, Priority: P1 request Regards, By Line In the above email if we want to extract the word ‘P1’ after the colon and map it to Priority,
By Free Form In the above email, if we want to extract the word ‘P1’ and map it to Priority.
| ||||||
Delete icon | Click the Delete icon to delete the templates Keys. | ||||||
Add icon | Click the icon to add a new templates. |
Configuring Parsing Conditions
The logic to identity which email should be converted to an SR is defined using the Parsing Conditions. New option 'Log Service Request' is introduced from Denali SP3 Release onwards in the Module drop-down for creating SRs via Email. A Parsing condition is defined using a combination of Keys, Condition, Value, and mapping it to a simple Service Catalog that does not have any custom attributes or mandatory fields.
Expand | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||
To define the Parsing Conditions, perform the following steps:
Field Description
Use Case 1In ‘Precise Metric’ company, the HR send emails to a specific mailbox, where the SummitAI Notification Parser is configured. The Business Logic that HR expect is as follows: If the Email Subject Contains the word ‘HR Services’ and the Email Body contains the word ‘User Onboarding’, then log a Service Request under ‘Onboarding’ Service Catalog. The HR can simply send an email to mailbox and not login to SummitAI to create a request every time.
To configure the above use case:
Use Case 2In ‘Precise Metric’ company, if the email subject contains the word ‘DL’ and the email subject doesn’t contain the word ‘Issue’ and the email body contains the word ‘DL Creation’, then the request should be logged under ‘Create DL’ Catalog. To configure the above use case:
Edit ConditionTo edit an already defined condition:
Delete ConditionTo delete a condition:
Configuring Field MappingField Mapping is used to map the fields in the email to a Service Request. To convert an email to an SR, it is essential to convert key items of an email to SR. For example, you can map subject of an email comprising the word ‘DL’ to an SR Field ‘Symptom’.
To configure field mapping:
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can fill in the following details under the UPDATE tab:
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Under the APPROVE tab, you can configure the approval details.
|
ACTIONS
This section explains all the icons displayed on the ACTIONS panel of the MAIL PARSER page.
SHOW LIST
Click SHOW LIST to display the LIST table showing all the configured Notification Parser details for the selected Tenant. The Notification Parser List page is updated with new columns as shown in the following figure. The new columns added in DENALI SP3 are: Actions, Updated By, Last Updated Time, and Order Number.
Figure: NOTIFICATION PARSER page: List of Notification Parsers
- To edit Notification Parsers, click the Rule Name. Make appropriate changes and click SUBMIT.
- To display inactive Notification Parsers, click the Include Inactive check box.
Note | ||
---|---|---|
| ||
When the Notification Parser details are displayed under the LIST table, the ADD NEW action is displayed on the ACTIONS panel. Click ADD NEW to configure a new Notification Parser. Click DISPLAY RULES to view the list of notification parser rules configured along with a link to send a Broadcast email to End Users. |
Appendix - Email to SR creation Scenarios
- Scenario 1 - Mailbox is configured for Service Request
- Scenario 2 - Mailbox is configured for Service Request and Incident
- Scenario 3 - Mailbox is configured only for Service Request
Scenario-1 – Mailbox is configured for Service Request Anchor scenario1 scenario1
A mailbox is configured for Service Request. User has access to a Service Catalog (‘Laptop Request’).
An end user sends an email with Subject ‘Laptop Request’ to the configured ‘from’ email id of the mailbox. User adds 2 attachments to the email matching the Notification Parser rule condition. As a result, a Service Request is created with ‘Symptom’ as ‘Laptop Request’ and ‘Description’ with the email ‘Body’. The 2 attachments added by user in the email along with the email content itself (total – 3 attachments) are added in the Service Requests > Attachments.
Following are exception scenarios that take a different route and do not create a Service Request.
Scenario-2 – Mailbox is configured for Service Request and Incident Anchor scenario2 scenario2
A mailbox is configured for both incident and SR Rules. User does not have access to a Service Catalog (‘HR Application Access’).
An end user sends an email with Subject ‘HR Application Access’ to the ‘from’ email id of the mailbox. The email matches the configured condition. However, as an end user does not have access to that Service Catalog, it creates an Incident instead of a Service Request.
Scenario-3 - Mailbox is configured only for Service Request Anchor scenario3 scenario3
A mailbox is configured only for SR Rules. User does not have access to a Service Catalog (‘HR Application Access’).
An end user sends an email with Subject ‘HR Application Access’ to the ‘from’ email id of the mailbox. The email matches the configured condition. As end user does not have access to that Service Catalog, the system will send an acknowledgement email to the end user mentioning that the end user does not have access to that Service Catalog. In this scenario the Mailbox is not configured for Incident.
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|