Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sai_Krishna
Contributor III
Contributor III

Trigger Qlik Sense task from SQL Server Query

Hi Team,

We have Qlik Sense and SQL Server in different servers. I want to trigger Qlik task soon after data is loaded to database. Currently Qlik task is scheduled for every 5 minutes to check and load data. Customer want to have real time refresh and I see this is better option.

Kindly let me know options to trigger qlik task from sql server through query.

Regards,
Sai krishna.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Great, You can create batch script like this

1) Download this tool : https://github.com/eapowertools/QlikSenseTask 

2) Create batch like, Here below QlikSenseTask.exe is your tool which you download from Github

<Server File share>\QlikSenseTask\bin\Debug\QlikSenseTask.exe -task:"QlikSense Task Name" -proxy:https://<Central Node Server Name> -wait:60
exit

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

4 Replies
Anil_Babu_Samineni

I am not that familiar whether you can batch script after success of SQL? But, If you have control+M this job is so easy.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Sai_Krishna
Contributor III
Contributor III
Author

Hi Anil,

Thanks for your reply. Yes, we can trigger batch files from SQL server. Can
you please help me with the script that should go in the batch file to
start a *qlik sense task?*
Anil_Babu_Samineni

Great, You can create batch script like this

1) Download this tool : https://github.com/eapowertools/QlikSenseTask 

2) Create batch like, Here below QlikSenseTask.exe is your tool which you download from Github

<Server File share>\QlikSenseTask\bin\Debug\QlikSenseTask.exe -task:"QlikSense Task Name" -proxy:https://<Central Node Server Name> -wait:60
exit

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Sai_Krishna
Contributor III
Contributor III
Author

Thanks for clear instructions Anil. It is working fine.