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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disable trigger when no record found in Qvd

Hi All, I am using Qlikview 64 bit Server SR 5 for generating Qvds, Analysis Files and sending mails.

I have my analysis files A1, A2 (with 'n' no. of reports) which are dependent on main Qvd Generator file Q1.
Tasks are defined for generating report based on analysis files A1,A2 and mail is send based on trigger defined in task.

The requirement is:

Task not to be triggered when there is no record in Qvd Q1(Qvd consists of multiple tables, if no record in any one of the table then task should not get triggered)

Please suggest how to fulfill the requirement.


Thanks in advance

Labels (1)
1 Reply
Not applicable
Author

Something like this should work, hope help, Regards
corrado

TABLAUNCH:
LOAD * FROM Example.qvd (qvd);

if NoOfRows('TABLAUNCH')>0 then
execute "C:\Program Files\QlikView\Qv.exe" /R "C:\QvData\MyDoc.qvw";
End if