Recover and Retry

Hi,

I have one query.

What z the meaning of the statement wherein it is mentioned “The process should recover and retry 2 times in case of errors in navigation between the Vendor Search and Vendor Search Results pages.”

Where we have to add this property when Orchestrator is not used.

Thanks

Hi @callsaurabh

It is not a property or a activity. It is the flow that should be built in that particular way. So basically, when you are using the REFramework, you should make sure that the entire process should restart from the begining in case it runs into an error when navigating between vendor search and search results. So basically, it is about GetTransactionData state and the Process state. In any case, the process state runs into an error, it should start from the Init state again.

The process shuold recover and retry 2 times. here, the 2 times are to be mentioned in the config file. in the config file, under constants, there is a property called “Max Retry Number”. Make sure you set it to 2 so that it will retry the process for two times before terminating.

Hope it helps…

1 Like

@Lahiru.Fernando

Thanks for the explanation.

I was searching on web about this and found about “Retry Scope” . Can we use Retry Scope also or do we have to change MaxRetryNumber property only in Config file ?

Thanks

Good point. Yes… In the framework, if you look closely, you will find the retry scope used in each of those states. So basically, the framework is handling it. So just setting the max retry number would be good if you are using the framework itself. In case you are not using the framework, then you can use the retry activity to retry failed activities.

However, in the framework, the idea is to not to retry only that particular activity. Idea is to retry from the beginning without failing the entire process so that it can start again from where it stopped…

2 Likes

@Lahiru.Fernando

OK perfect … so If we are using REF template then we should go for Config file else we can directly use “Retry Scope”.

Thanks for the explanation.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.