QlikView Triggering EDX Enabled Tasks

To start tasks that have an external event as trigger, the QlikView Management Service API (QMS API) must be used. The user making the request calls must be a member of the QlikView Administrators local group or the QlikView EDX local group. The QlikView Administrators group is set up during the installation of QlikView Server, but the QlikView EDX group must be created manually in Computer Management. Members of the QlikView EDX group only have the right to trigger EDX-enabled tasks.

The method to use has the following signature:

Parameter Purpose
guid ID of the QlikView Distribution Service (QDS) where the task is defined.
taskNameOrId Task name or ID of the task in string format.
password Password (if required by the task).
variableName Variable name (if required by the task).
variableValues List of values for the variable.

The returned result contains information on whether the task was successfully started or not.

The example below shows how to trigger a task and wait until it has finished or until a certain amount of time has passed.

The example comes from the QMS API documentation, which is installed as part of the QlikView Management Console (QMC). It contains detailed information on the available methods and how to get started with the QMS API.