Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
zanu_zarina
Contributor II
Contributor II

Retry mechanism

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?

Labels (1)
0 Replies