QlikView Triggering EDX Enabled Tasks

QlikView Event Driven Execution (EDX) allows you to start tasks in the QlikView Publisher using an external event as the trigger.

To set up an EDX task, you must use the QlikView Management Service API (QMS API). The user making the request calls must be a member of the QlikView Administrators local group or of the QlikView EDX local group. The QlikView Administrators group is created during the installation of QlikView Server, but the QlikView EDX group must be created manually in Computer Management. Members of the QlikView EDX group can only trigger EDX-enabled tasks.

Creating the QlikView EDX group

Do the following:

  1. Open Local Users and Groups from Computer Management.
  2. Expand the group section and in the toolbar select Action > New Group...
  3. Enter "QlikView EDX" as the group name and select Create.

Creating an EDX task

To create an EDX task, use 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.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?