You are viewing limited content. For full access, please sign in.

Question

Question

Retry a failed Workflow Email Task (on prem)

asked on August 1, 2024

Hi all,

 

I am having a workflow terminate as it sometimes rarely can't connect to  email server.

the       <Message>The remote name could not be resolved: 

Without manually building something into the workflow,  is there a setting to somewhere set it to re-try sending the email as a default? Or is that already happening?

 

I am using Workflow on prem.

Thanks

 

0 0

Answer

SELECTED ANSWER
replied on August 1, 2024 Show version history

In the Workflow Administration Console you can customize how specific errors are handled to decide whether they retry and/or terminate the workflow.

Server Configuration > Task Error Handlers

From there you can add a handler for that specific error and configure it to retry.

However, I still agree that a repeat/try-catch setup is ideal because the error handlers apply to all workflows on the server, and a try-catch in a loop can catch more variety of errors.

0 0
replied on August 1, 2024

Thanks @████████ and @████████ (are you guys brothers?!), 

This is what I was looking for, thanks for the extra info.

0 0

Replies

replied on August 1, 2024

I don't believe a "Repeat" activity can have a condition based on if an Email activity has failed. I know several organizations that use a Try-Catch activity where it will first try to send the email and in the catch either have it try to send it again using the same email server or they have a secondary email server that they have it send from.

There are also Task Error Handlers that can be set in the Workflow Administration Console. You can read more about it here: https://doc.laserfiche.com/laserfiche.documentation/11/administration/en-us/Default.htm#../Subsystems/LFWorkflow/Content/Resources%2FAdmin%20Console%2FTask%20Error%20Handlers%20Node.htm

1 0
replied on August 1, 2024

As far as I can tell, there are no settings for retrying email outside of using a "Repeat" activity in the workflow itself. I'd be more concerned about why it occasionally cannot connect to your email server.

0 0
replied on August 1, 2024

Thanks Kevin, yes definitely, it happens one every 100, so definitely want to get that looked at.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.