Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
for testing purpose.
i want to do fail while running successfully dashboard?
how we can achieve this?
Regards
Sathish
You can start the task and stop it immediately.
For QlikView, Create a task and then you will see it under task tab. Here you will see couple of buttons next to the task, click on run button and then once it starts you will see button to stop it.
For Qlik Sense, once you create a task you can see a start button at bottom and also stop button to stop the rask.
In either case once you stop the task it will fail.
Rgards,
Kaushik Solanki
Hi Sai,
this one i know, if we need to do throw Script?
am thinking just put some unwanted script it will fail automatically.
Regards
Sathish
you mean
exit script;
or
LOAD * INLINE [
CustomerID, ProductName
001, Ball
001, Book
001, Pen
002, Ball
002, Pen
003, Pen
004, Ball
004, Pen
005, Ball
005, Book
];
Binary [\cityreg\desktop\default script.qvw];
it will throws script error.and it will fail.
In your script you can try using a self-invented statement, like
CRASH;
It won't be recognised by the Scriupt execution engine, and as a result it will do exactly what it means.
For exmaple, you can use this trick in an IF statement that evaluates conditions that should be fulfilled to succeed, otherwise fail:
:
IF NoOfRows('MyTable') > 0 THEN
// Proceed
CONCATENATE (OtherTable) LOAD ... RESIDENT MyTable WHERE ...;
ELSE
CRASH;
END IF
:
Peter