Creating incidents and retrieving incident status through email messages
BMC Remedyforce uses email services to allow users to create incidents or retrieve the status of incidents through email messages. Additionally, email services also allow staff members to interact with customers through emails. For more information, see Configuring-email-conversation.
The following video (8:06) provides an overview of creating email services to configure Remedyforce to create incidents through email messages.
Precondition
To create incidents and to retrieve incident status through email messages, perform the following tasks:
Email service creation
If you want your users to create incidents or retrieve the status of incidents through email messages, you must create an email service and add one of the following out-of-the-box Apex classes to the email service:
Apex class | Description |
EmailListener | To create incidents and retrieve the status of incidents through email messages. |
EmailCreateIncident | To create incidents through email messages. Also, use this Apex class when you are configuring integration with BMC Server Automation and BMC End User Experience Management. |
EmailIncidentStatus | To retrieve the status of incidents through email messages. |
GenericEmailListener | To create incidents through events generated in BMC TrueSight Operations Management (before version 10.0, BMC TrueSight Operations Management was known as BMC ProactiveNet Performance Management). Note: Use this Apex class only when you are integrating BMC Remedyforce with BMC TrueSight Operations Management. |
ChangeRequestEmailListener | To create change requests in BMC Remedyforce from BMC Server Automation. |
To create email services
- Click the Remedyforce Administration tab.
- On the Home page, click the Configure Email tile, and select Email Services.
- Click New Email Service.
In the Email Service Name field, type the name of your email service.
- Click the Apex Class lookup.
In the Search field, type Email and click Go.
The list of Apex classes that begin with Email in the Name field is displayed.- In the Lookup window, click the required Apex class.
- From the Accept Attachments list, select All.
Select the Convert Text Attachments to Binary Attachments check box to ensure that attachments are not lost or deleted from the email.
- To enable the email service, select the Active check box.
- Depending on your organization's requirements, configure the remaining fields.
For more information, see Salesforce Help. - To save the email service and configure an email address for this email service, click Save and New Email Address.
- Navigate to Email Service Address > Email Address Information and type the user name of the email address.
- A unique domain name is created and assigned to the email address by Salesforce.com.
For more information, see Salesforce Help. After adding the required the required Apex class, you must configure an email address for the email service. The Apex class processes the email that is sent to the email address that you have configured.
For more information about email services, see Salesforce Help. For information about the email limits of your Salesforce organization, see Salesforce Help.- To activate the email address, select the Active check box.
- Click the Context User lookup.
- In the Lookup window, click the required user.
When an incident is created through email, by default, the incident is assigned to the user configured as the Context User in the email service. This user does not receive a notification email when the incident is created. You must create workflows for the Context User to receive email notifications when an incident is assigned to the Context User. For more information, see Configuring workflows.
(Optional) In the Accept Email From field, type the valid email addresses. - The email service address accepts emails from these email addresses only.
- Click Save.
To create an incident through email messages
- Create email services. For more information, see To create email services.
- Configure Incident email settings, For more information, see Settings-to-create-incidents-by-using-email-messages.
- Users must send emails to the email address that is displayed in the Email Addresses section of the Email Service page. After an incident is created by an email message, the values of the following fields are displayed in the Description field of the incident:
- From
- Sent (date and time the email message was sent in the format that is set for your Salesforce organization)
- To (if available)
- Cc (if available)
- Subject
- Body (if you have not mapped the body of the content to any incident field)
If any formatting was applied to the text in the email message, the formatting is not retained when staff members open the email message.
The email listener searches for the Ref:# keyword in the subject or body of the email message and interprets the message by considering the following points:
- If the keyword is same or different in the subject and body of the email message, the information provided on the subject of the email message is used.
- If the keyword is present only in the subject or body of the email message, the information provided in the subject or body of the email message is used.
For more information about configuring your email server, see the documentation of your email server.
To retrieve an incident status through email messages
- Navigate to Setup > App Setup > Create > Workflow & Approvals and click Workflow Rules.
- Click the Update the incident’s status through email (Managed) check box.
- Select the Active check box.
- Navigate to Setup > Build > Develop and create Email Services by selecting EmailListener or EmailIncidentStatus in the Apex Class field. For more information, see To create email services.
- Users must send emails to the email address that is displayed in the Email Addresses section of the Email Service page.
Related topic
Searching-for-matching-incidents