Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Disappear Launch Action Error

Hello,

I would like to know if it is possible to make the alert of a launch action dissapear when it gives error.

thank you

9 Replies
tajmohamed30
Creator III
Creator III

have you tried error mode=0

Anonymous
Not applicable
Author

where should i write it?

prma7799
Master III
Master III

ErrorMode

Arguments:

ArgumentDescription
ErrorMode=1The default setting. The script execution will halt and the user will be prompted for action (non-batch mode).
ErrorMode =0QlikView will simply ignore the failure and continue script execution at the next script statement.
ErrorMode =2

QlikView will trigger an "Execution of script failed..." error message immediately on failure, without prompting the user for action beforehand.

Example:

set ErrorMode=0;

2) Exp


set ErrorMode=0;

load * from A;

if ScriptError = 1 then

     load * from B;

elseif ScriptError = 2 then

     load * from C;

else

     exit script;

end if   

Anonymous
Not applicable
Author

the problem is not on the script, it´s on the button, on actions, launch a .cdm.

i would like that if it gives an error not to show the alert

prma7799
Master III
Master III

Please share some sample data with sample app.

Anonymous
Not applicable
Author

Capture.PNG

here you have an example

prieper
Master II
Master II

You may check, whether the file exists and on basis this show a text-box or the like.

Anonymous
Not applicable
Author

¿how could it be done?

prieper
Master II
Master II

depending your purpose....

IF FILESIZE('here comes your file') THEN

EXECUTE ....

ELSE

LET iError = 1;

EXIT SCRIPT;

END IF

and in the file you may then have a textbox being visible, if iERROR is set.