This page applies to Appian Cloud only. It may not reflect the differences with Appian Government Cloud.
The application server that is installed with the system handles incoming email messages.
In order for the messages to be received by a process or process model, a mail server connection must be configured by your administrator.
Your Appian administrator must enable the Anonymous system user to allow the sending of an email to a process or process model.
Email messages can be received by processes, process models, and events within a process model. Email messages can also be sent by your processes.
Data transferred using email to an Appian process is not encrypted. Exchanging unencrypted sensitive or confidential data is not recommended. Application-level security is the responsibility of each customer.
Perform the following steps to allow a start event to be triggered using an email.
To further restrict when the event is triggered (and when a process is started from the email) you can add conditions so that the event only executes once all conditions evaluate to true.
|If an email is sent to a process model, but a process instance is not started, it's possible the email was not received by the process model. This can occur if Canonical Name (CNAME) expansion is enabled on your email server. To address this behavior, please work with your IT team to disable CNAME expansion on your email server.|
All processes, process models, and events have an identification number (process ID, process model ID, process model UUID, and Event Persistent ID). The process model ID and UUID can be viewed from the process model properties dialog box. (The process model UUID is only available once the process model is saved.) Email messages sent to a process must target a process, process model, or event.
In order to avoid triggering the process start event or receive message event multiple times, the system checks the
Message-ID field in the received email as well as the target IDs/UUIDs to determine if it is a duplicate. The system will ignore any duplicate messages that are received within a rolling 24 hour window and will log a message with the text "Ignored duplicate message".
Email messages can be routed to the desired process, process model, or persistent event ID using the following destination keys:
If your Appian administrator creates a custom alias configuration to support email address routing, do not also use key/value pairs for routing. Any routing key/value pairs found in the subject or body of an email take precedence over a custom email alias.
The email sent to a process model, an active process, or an event no longer requires that you include a process model, process, or event identifier in the email address. Rather the identifier must be listed in a key/value pair that appears in the message subject or body. It is possible to continue using IDs in email addresses only with custom configuration.
Apart from including text in an email, you can also include key-value pairs for data, and attachments. To include a key-value pair, both the key and value should be enclosed within brackets (). For example, to send an email that assigns the CaseId key a value of 222100, the following syntax would be used.
Including such key/value pairs within an email message allows you to capture each of these values within a receive message event, and store them in process variables.
Similarly, attachments to a received email message are stored in a folder within the Documents view. This folder can be specified through the Process Model Properties dialog box for the underlying process model. (Open the process model and select File > Properties.)
HTML messages emailed to a process generally need to be converted to plain text before they can be stored within process variables. To facilitate this conversion, the expression editor provides the stripHtml() function. This function can be used to convert email messages to plain-text before storing the contents in process variables.
(For migrating systems) any processes that are configured to send an email and expect a reply to their
process<id>@domain.topdomain address or embed an email address of the form
process<id>@domain.topdomain must be updated with the new reply-to address be the single account for Appian email and embed the routing key/value pairing in the body so it can be routed to the correct process.
The information in this topic is intended for Appian Cloud users.
1 2 processmodel<id>@subdomain.appiancloud.com processmodeluuid<model_uuid>@subdomain.appiancloud.com
On This Page