we have a registration workflow that has two steps:
Send email to admin
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?