Check for Emails
Our Windows Server sends out an email from company@email.com with the subject of: [The job succeeded.] or [The job failed.]. We should be able to use a departmental email to receive these emails. Does Decisions have the ability to access a departmental email and check for these emails at a specific time every day and send an email to several employees if either a Failed email is sent for the day or if neither exists for the day.
Comments
-
Yes, Decisions is able to integrate with your mail server to look through your inbox for the specific messages you mentioned. There are two ways I was able to find to do this:
- By integrating with POP3 or IMAP, as outlined in these documents: https://documentation.decisions.com/v7/docs/en/setting-up-a-flow-to-handle-email-events-pop3, and https://documentation.decisions.com/v7/docs/setting-up-a-flow-to-handle-email-events-imap Our POP/IMAP steps can be found here: https://documentation.decisions.com/step-library/docs/get-email
- If you have an Exchange server, you can integrate via our Exchange module, as outlined in this document: https://documentation.decisions.com/v8/docs/en/exchange, Although this may be more complicated as Microsoft has deprecated integration authentication via passwords, and you will need to authenticate your integration via OAuth, which you can read more about from Microsoft here: https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth and from Decisions here: https://documentation.decisions.com/v8/docs/establishing-an-oauth-provider and here: https://documentation.decisions.com/v8/docs/creating-oauth-tokens
Using either steps from IMAP/POP or the Exchange module, you will be able to set up a scheduled job to retrieve the emails. https://documentation.decisions.com/docs/understanding-scheduled-jobs. Using rules, you can filter for specific criteria you are looking for such as "Job Succeeded" in the Subject of the email.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions