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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Howto get task status from QMC

Hi all,

I´ve just coded a button in which there is a trigger that starts a task using Windows Shell Script (QMSEDX -task =...) and at the moment it´s works fine, I can see on QMC that the task starts, running and finally ended, find the code below

strCommand = strEDX & " -task=" & Chr(34) & strTaskName & Chr(34) & " -qms=" & Chr(34) & strServer & Chr(34) & " -password=" & Chr(34) & strTaskPassword & Chr(34)

Set WshShell = CreateObject("WScript.Shell")

Call WshShell.Run(strCommand,0,False)

But I need to inform to the user that the task has been finished ( OK or KO ) and my question is:

How can I get the status of the task? Could you provide an example?

Best regards.

Jeremias

0 Replies