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

Create Trigger/DocumentTask via QMS API?

Is it possible to add a DocumentTask to a document programatically?

The only method I can find in the QMS API is IQMS.SaveDocumentTask, but this requires an ID of an already existing Task.

1 Solution

Accepted Solutions
Not applicable
Author

Found the solution:

I need to manually create a template Task in the Management Console. This can be fetched, given a new ID and assigned to a source document. Then triggers can be created programatically and added to the Task before the task is then saved.

Edit: feels like I'm having a conversation with myself here.

View solution in original post

2 Replies
Not applicable
Author

So...

To me it seems that when adding a document I need to generate Task and Trigger XML files in C:\ProgramData\QlikTech\DistributionService\ and that it is not possible to do this via QMS API. It is possible to change triggers and tasks via this API though.

Not applicable
Author

Found the solution:

I need to manually create a template Task in the Management Console. This can be fetched, given a new ID and assigned to a source document. Then triggers can be created programatically and added to the Task before the task is then saved.

Edit: feels like I'm having a conversation with myself here.