i encountered a problem in my automation and i need idea to prevent this from happening again.
my automation tried to download the original email from outlook but it took longer than 300 seconds or 5minutes, thus resulting to faulted job. i think this is because the internet connection was slow during the downloading of file, or there was a disconnection to the integration service or other things that is happening that i don’t know, out of 100+ emails this is the only time the download activity failed to download the file.
how can i prevent this from happening in the future.
This looks like a transient network / Outlook service issue since it occurred only once.
To avoid future job failures, wrap the email download activity in a Retry Scope and increase TimeoutMS (e.g., 600000). Also place it inside Try/Catch so one failed email does not fault the entire job. In Catch, log the email and continue processing. Optionally, store failed email IDs for reprocessing later. These practices make the automation resilient against temporary connectivity or Integration Service interruptions.
Use Retry Scope / Try-Catch around the download, increase timeout, and skip or retry failed emails instead of failing the job. This handles slow or unstable network issues safely.
I Recommended use this one :
For Each Mail
→ Try
→ Download original email
→ Catch
→ Log error + retry / mark failed
→ Continue
If it’s helpful please mark as solution so other can use.