I'm using the email tool to send a report to multiple recipients. Sometimes this flow ends in a time out and doesnt send any messages due to this.
I've added a log to the control container where the email tool is in to save the log in a YXDB which in turn is read by another flow later in the day to find out whether the email was actually send.
If its not sent (according to the log) someone from IT gets an email to notify them and asking them to manually trigger an email-only workflow.
However, sometimes the log says theres a time out issue and 0 messages are sent while in reality I (as someone in CC of the original email) actually receive the email.
Thus there is no need for resending the email again.
Is there an easy way to know for sure whether an email has been sent, as the log apparently cannot be trusted at all times?
@leonhekkert As an alternative to the email tool, you can send an email using "Events". Click on your canvas background to show the Workflow Configuration window. You will see tabs for: Canvas, Workflow, Runtime, Events, Meta Info. Click Events, check the Enable Events Box, click Add--> Send Email, and fill out the dialogue box. Click OK to save. At the top of Dialog box in "Run Event When" you can choose when to get the email, for example all the time would be "After Run" or you can choose to only get an email when it errors.
Hope this helps!