Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional save during Publisher reload

Hi all,
i've a simple and suppose common question, how can i condition the execution of the reload to a value of a field in a table?
Someone have some trick / idea ?

I tried to follow the below way, but the document is saved empty.



TABLAUNCH:
LOAD
Launch;
SQL SELECT Launch
FROM TabInvoice WHERE Launch = "YES";

if NoOfRows('TABLAUNCH')=0 then
exit script; //i don't want the Publisher save the document here because it would be empty
End if

// continue the reload
LOAD * INLINE [
F1
a
b
c
];

0 Replies