Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
zanu_zarina
Contributor II
Contributor II

Retry Mechanism

Hi Team,

Can any body help me the do while condition i am getting the 2 error as

1.The control statement is not correctly matched with its corresponding start statement

2.Loop while mod(LocalScriptErrorCount,retryCount) <> 0;

can you check my and let me know where i did the mistake:

SET retryCount = 4;

SET LocalScriptErrorCount = 0;
Do
SET ScriptErrorCount = 0;

<  Lib connection >


IF ScriptErrorCount > 0 then
LET LocalScriptErrorCount = $(LocalScriptErrorCount) + 1;
//Any other error handling if applicable
ELSE
SET LocalScriptErrorCount = 0;
End If;

Loop while mod(LocalScriptErrorCount,retryCount) <> 0;

Please help me regarding this issue.

 

Labels (1)
0 Replies