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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kushal_Chawda

Batch file execution based on condition

Dear All,

I am using the batch file for reloading the application.

Now I want to execute the batch file based on condition. When My Date not equal to System date batch file should not fire.

and email should go to respective managers saying that Date is not updated in the system due to application not refreshed.

else reload should go smoothly

2 Replies
Not applicable

If I'm being honest, DTS/SSIS is the easiest way of doing this.

Whilst it may be possible in QV, I'm pretty sure it's not straight forward..

vikasmahajan

Hii,

"C:\Program Files\QlikView\QV.exe" /VvTriggerMacro=0 "C:\Export-Email-Automation\Dashboard.qvw"

vTriggerMacro is variable can be pass thorugh batch file

SET v = ActiveDocument.Variables("vTriggerMacro")

varTrigger = v.GetContent.STRING

IF varTrigger = 1 THEN

Reload your application.

hope this helps you.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.