Please note that Retry mechanism has been added to: Document Generation Workflow for :
- WF Word Template
- WF Report Multiple
Even though below example talks about document generation using Word Template…it also holds true for document generation using Report Multiple workflow…
We had encountered a scenario where Word Template generation was failing frequently.
This had happened on 28th and 29th Sept 2020. These were the 2 days when MSFT had reported issues with their Azure services!
On studying the pattern of failure… we found that most of the times… failure incidents were happening together…possibly bcos of outage of azure service.
To overcome this issue, our team added a retrial mechanism… such that if a failure happens… Then 2nd try would happen after waiting for 1 minute and again if failure happens then third retry will happen after waiting for 10 minutes…
To enable retrial attempt, check the field “Retry On – Failure”:
To view the status of execution , browse to “WF Render Word Template” entity:
As can be seen above… one of the executions had failed in 1st attempt… however it succeeded in the 2nd attempt.
If you would like to be notified if there is a failure… Then you can write an OOB Workflow which will trigger and send email when the “3rd Try Status” is set to value:”Failure”.