Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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