Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Workflow Step fails and retries entire workflow 11 times

Hi,

we have a registration workflow that has two steps:

  1. Send email to admin
  2. Send email to user

The problem is that sometimes the mail server doesn't like the user's email address and refuses to send the email, throwing an exception in that workflow step. In the logs I can see the exception and I can see that AEM restarts the entire workflow (also sending emails to the admin). My question now is, why does AEM restart the entire workflow and not just the step that failed?

Thanks,

Paul

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Actually 'SendEmailProcess' throws 'WorkflowException' when anything fails which might be causing it to restart the complete workflow !!

This looks like an issue. Can you please create a support ticket for the same.

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Actually 'SendEmailProcess' throws 'WorkflowException' when anything fails which might be causing it to restart the complete workflow !!

This looks like an issue. Can you please create a support ticket for the same.