In my dash board i am trying to connect the retry mechanism but it is not working below is the code what i am using (using the REST connection)
Set Retrycount=4;
Set LocalscriptErrorcount=0;
Do
Set ScriptErrorCount=0;
< MY Script >
Drop Table;
IF ScriptErrorCount>0 Then
Let LocalScriptErrorCount=$(LocalScriptErrorCount)+1;
Else
Set LocalScritpErrorCount=0;
End IF
Loop while Mod(LocalScriptErrorCount,Retrycount)<>0;
can you please help the code
Can you please help me the correct code.I am explain very clearly i have connection,In that it is running 100 Quries.
1,2,3.....................100.The query is running up to 70th after that connection is failed so i have to apply the Retry mechanism Here .It will be start from the 70th query not from the 1st could you please explain the code please?