Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Could anyone let me know if its possible to make a Qlikview Reload fail by using the error modes , i tried setting it to 2 .
But i still find the reload successful
Something like this is a little cleaner, allows you to set/unset the variable to trigger the failure and allows a custom message which will be visible in the Log file.
Let vFailScript = 1;
IF $(vFailScript) = 1 THEN
Trace Custom Error Triggered;
SET [Error 1001 - My Custom Error is now Triggered];
END IF;
You want the reload to fail? May be just add something like this at the point you want it to fail
adakjdhajdhaskj
This is what I got
ya sure, but is there a cleaner way to do this using the error mode variables or so
Error_Mode is used for when there is an error, it can't throw an error for you.
Read here on what error mode does
Ya sure, i get that but was looking for a variable that does a reverse of this.
So is there anything of that sought.
I don't think so... but let's see if hic or rwunderlich know anything.
You can Exit the script using EXIT SCRIPT;... or do you want it to actually fail? Can you explain the use case for this?
I actually want it to fail as in case the other developer hits run task on qmc the reload does'nt happen.
WE have multiple tasks with very similar names