This is a continuation of a series of posts about SCSM Email Integration. In this post, we will assume that SCORCH is already configured per the previous posts.
Our goal now is to extend the ‘Email General Routing’ runbook that we made previously.
Original Goals for this runbook:
- Check an email account for emails matching a specific template
- Forwards trigger information to a child runbook
- If an email arrives with a subject line containing [IR####] or [SR####], write the email to the corresponding ticket as a comment.
Runbook Name: Process Email – General Routing
Add the following activities:
- Link from ‘Every Minute’
- Get Items from Inbox
Type: Exchange User -> Get Items
- Smart Link from ‘Get Items from Inbox’
Include: Subject from ‘Get Items from Inbox’ matches pattern “.*SR[0-9]+.*”
Include: Subject from ‘Get Items from Inbox’ matches pattern “.*IR[0-9]+.*”
Exclude: Subject from ‘Get Items from Inbox’ starts with “SCSM_Trigger”.
Type: Invoke Runbook
Runbook Name: SMMail_ProcInboundComments
Parameter 1 Name: emailID
Parameter 2 Value: ID from ‘Get Items from Inbox’
Here is an image of the final runbook: