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.4K All Categories
- 80 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions