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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ExternalProgamTask in QMS API

Hi,

Is there any way I can access the External Program Tasks using QMS API.

I have created a VC# program to scan through all the tasks and search for the Not Scheduled tasks.

If found, I get the DocumentTask of the task using getDocumentTask() and make some changes. But the program fails when it encounters an External Program task.

The reason is, I cannot get an External Program Task using getDocumentTask().

Can anyone help me here?

-Mithun

2 Replies
Stefan_Walther
Employee
Employee

Hi,

use the following fragment to retrieve External Program Tasks:

TaskInfo taskInfo = qmsApiClient.FindTask(qdsId, TaskType.ExternalProgramTask, taskName);

Hope this helps!

Regards

Stefan

Not applicable
Author

Hi Stefan,

Thank you. That one worked and I am able to get the External task using FindTask() function.

Also, can you please suggest me some way to save an External Program Task!!!

I have searched through the QMS API and could not find an equivalent to the saveDocumentTask() function which is used for saving the document task.

-Mithun