I'm looking into detecting and sending alerts for failed workflows.
To create a failed workflow to test my alerts I've created a workflow that creates a record in a custom entity on update of a Lead. I then deleted the custom entity in SQL but it didn't work as I expected.
When I updated a Lead the workflow in System Jobs has a Status Reason of 'Waiting'. Opening the detail shows that a SQL Server error occurred.
My question is why didn't the workflow Fail? Does CRM retry for a limited time, or x number of times?
Thanks