Overview
Need to poll emails from your Exchange server? This smart service can be used in a poller process and extract the data from the Microsoft Exchange server. Messages are stored in the Appian Document System, as well as the attachments. Meta data is stored in a database table for further processing.
This plug-in provides an alternative to sending emails to an Appian process model when inbound email integration is requested. Instead of the email being forwarded to Appian, this plug-in reads the emails directly from the Exchange mailbox using the MS Graph API as described below:
Key Features & Functionality
Hello,
We checked this error in tomcat-stdOut.log:
____________________________________________________________________________________________________________________
2024-03-13 10:43:43 SEVERE [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] com.microsoft.graph.logger.DefaultLogger.logError CoreHttpProvider[sendRequestInternal] - 408Error during http request
2024-03-13 10:43:43 SEVERE [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] com.microsoft.graph.logger.DefaultLogger.logError Throwable detail: com.microsoft.graph.core.ClientException: Error during http request
2024-03-13 10:43:43,962 [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphMailPoller - Error during email processing, exiting all
com.microsoft.graph.core.ClientException: Error during http request
These error was detected in QAS and PRD, during the process of polling emails from outlook, using MSGraph Email Poller plugin.
We need to know what is causing this error, as emails that fall into these situations are not being integrated into Appian, but rather sent to the "exception" folder in Outlook.
This error occurs only with a small subset of emails.
Regards
Don't think you can handle this automatically. Sounds like you already have logic to recognize replies - instead of merging the POs, kick it out to a human for exception handling.
To close the loop here - together with Appian Support we have proved that the issue was on the Microsoft side. For some reason their graph.microsoft.com endpoint was limiting the size of the response packets to max 4KB, which significantly slowed down eml and attachment downloads. Seems MS has done something over this past weekend to rectify the issue and performance returned to normal.
We had a scenario on order processing management. Customer is sending his PO and appian is receiving this PO and Appian is sending ack and we are merging all this to and fro communication to one order id.
But now customer is using reply and sending another PO. It is merging with prev PO based on internet messaging id. How can I create another order though end user uses reply from his mail box.
Thanks
Jose Cavazos The only thing I can think of for the slowdown are the MS Graph APIs, they can throttle these with higher traffic and the plugin makes a lot of calls per email. That said, I would expect an occasional 429 response from MS, are you getting more errors? Do you see some emails moved to the "not processed" folder, and the total number of emails processed from the node lower than what you would expect?
Also, is this slowdown noticeable in a lower environment as well?
This plugin can monitor a specific mailbox/folder combination. The documentation on plugin use is included in the download.
The Advanced Rich Text component is able to handle this specific scenario. Please refer to the docs of that component for guidance.
This is not possible with this component, this component is to read emails that arrive at the mailbox from appian.
Hi! We're experiencing some issues that started couple of days ago where poller is taking longer to pull items from outlook servers. Before we were doing around 30~40 items per minute now we might be doing around 7-8 depending on the size. Has anybody been or has experienced this issue and how did you solve it. Thanks.
Hi,
can you please provide some guidance how to handle inline images in the emails downloaded by the email poller? We are not able to display them properly in the richtext components...
Thanks in advance,
Aleksandrs