User is entering some details for which we are using Savable Datable to persist.
As part of Save-DataPage method, if we are encountering some intermittent error or exception, we want to retry for 3 more times to make sure it succeeds next time.
How can we achieve this?
Because for the first time of using Save-DataPage method in activity, if there is any exception on the datapage.Can we invoke the same Save-DataPage again?
Ideally, the StepStatusFail should return an error if there is an issue with Save-DatePage. Iterate three times if there is a success, then exit the iteration.
@RameshSangili If there is a failure due to some reason during Save-DataPage method for the first time, we are seeing same error again on the Save-DataPage method irrespective of how many times we try again in the for loop.
@gunds2before doing next save, you would need to check if the page has messages using hasmessages when condition, if yes do page-clear-message and then do save.