Reporting tasks
Reporting task events notify you about the execution of scheduled report generation and delivery workflows, helping you track report distribution activity.
These events are available for consumption via:
Published when an individual recipient or filter group execution of a reporting task completes. Multiple events can be published for the same reporting task run, sharing the same sharingTaskExecutionId. The payload contains reporting task information, rather than the result of the individual execution. Events may not be emitted for all failed executions.
Payload
object- id stringRequired
Identifies the event.
- time string
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
- type stringRequired
The unique identifier for the event type.
- source stringRequired
Identifies the context in which an event happened.
- specversion stringRequired
The version of the CloudEvents specification which the event uses.
- datacontenttype string
Content type of the data value. Must adhere to RFC 2046 format.
- userid string
The unique identifier for the user triggering the event.
- authtype string
The type of principal that triggered the occurrence.
- tenantid stringRequired
The unique identifier for the tenant related to the event.
- authclaims string
A JSON string representing claims of the principal that triggered the event.
- tracestate string
A comma-delimited list of key-value pairs.
- traceparent string
Contains a version, trace ID, span ID, and trace options.
- data object
Contains the event-specific attributes of the payload.
data properties
- id stringRequired
The identifier of the reporting task. Has the same value as
resourceId. - name stringRequired
The name of the reporting task.
- appId stringRequired
The identifier of the app.
- error string
Currently empty for reporting task events.
- expiry string
The expiration date.
- status stringRequired
The status of the reporting task. This does not necessarily represent the outcome of an individual execution.
- enabled booleanRequired
Indicates whether the reporting task is enabled, both by the user and by the system.
- ownerId stringRequired
The identifier of the reporting task owner.
- spaceId string
The identifier of the space.
- traceId string
The identifier used to trace the reporting task execution processing.
- creatorId stringRequired
The identifier of the user who created the reporting task.
- thumbnail stringRequired
The link to the thumbnail image.
- resourceId stringRequired
The resource identifier of the reporting task.
- transports arrayRequired
The transport channels of the reporting task, for example
emailandsharepoint. Whenhassectionaccessis true,sharepointis omitted from this list. Usedistributionchannelsfor the channels as configured on the task. - workflowId stringRequired
Currently empty for reporting task events.
- createdDate stringRequired
The date when the reporting task was created.
- description stringRequired
The description of the reporting task.
- insightLink stringRequired
An insight link to open the app from the email.
- typeOfSpace string
The type of space.
- resourceLink stringRequired
Currently empty for reporting task events.
- resourceType stringRequired
The resource type of the reporting task.
- sharingTaskType stringRequired
The type of sharing task.
- hassectionaccess booleanRequired
Whether the associated app has section access enabled.
- sharingTaskOwnerId stringRequired
The identifier of the sharing task owner.
- distributionchannels arrayRequired
The transport channels as configured on the reporting task, for example
emailandsharepoint. Unliketransports, this list still includessharepointwhenhassectionaccessis true. - sharingTaskExecutionId string
The identifier of the sharing task execution, which covers the whole run of the reporting task. In
reporting-task.executed, several events can carry the same value, for example one for each recipient or filter group execution. - reportingServiceEventId stringRequired
The identifier of the reporting service event, when available.
-
com.qlik.reporting-task.executed
Example payload of the "Reporting task executed" event
{ "id": "A234-1234-1234", "time": "2025-01-15T10:43:17Z", "type": "com.qlik.reporting-task.executed", "source": "com.qlik/my-service", "specversion": "1.0", "datacontenttype": "application/json", "userid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authtype": "User", "tenantid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authclaims": "{\n \"sub\": \"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\",\n \"email\": \"user@example.com\",\n \"roles\": [\"admin\", \"editor\"]\n}\n", "tracestate": "rojo=00f067aa0ba902b7,congo=t61rcWkgMzE", "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01", "data": { "id": "64b6d2e7a9f211331271421e", "name": "test", "appId": "9c6b39c8-4624-4b2c-8c7b-bb91b919a421", "error": "string", "expiry": "", "status": "VALID", "enabled": true, "ownerId": "63f622472ef44d955d3442a2", "spaceId": "63f622472ef44d955d3442a2", "traceId": "64b6d2e7a9f211331271421e", "creatorId": "63f622472ef44d955d3442a2", "thumbnail": "/api/v1/sharing-tasks/64b6d2e7a9f211331271421e/executions/latest/files/", "resourceId": "64b6d2e7a9f211331271421e", "transports": [ "email" ], "workflowId": "string", "createdDate": "2023-07-18T17:59:03Z", "description": "Weekly sales report for the EMEA region", "insightLink": "string", "typeOfSpace": "managed", "resourceLink": "string", "resourceType": "reporting-task", "sharingTaskType": "template-sharing", "hassectionaccess": true, "sharingTaskOwnerId": "63f622472ef44d955d3442a2", "distributionchannels": [ "email", "sharepoint" ], "sharingTaskExecutionId": "64b6d2e7a9f211331271421e", "reportingServiceEventId": "64b6d2e7a9f211331271421e" }}Published when a summary is generated for a reporting task execution. Includes task metadata and execution statistics. Use this to track reporting outcomes.
Payload
object- id stringRequired
Identifies the event.
- time string
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
- type stringRequired
The unique identifier for the event type.
- source stringRequired
Identifies the context in which an event happened.
- specversion stringRequired
The version of the CloudEvents specification which the event uses.
- datacontenttype string
Content type of the data value. Must adhere to RFC 2046 format.
- userid string
The unique identifier for the user triggering the event.
- authtype string
The type of principal that triggered the occurrence.
- tenantid stringRequired
The unique identifier for the tenant related to the event.
- authclaims string
A JSON string representing claims of the principal that triggered the event.
- tracestate string
A comma-delimited list of key-value pairs.
- traceparent string
Contains a version, trace ID, span ID, and trace options.
- data object
Contains the event-specific attributes of the payload.
data properties
- id stringRequired
The identifier of the reporting task. Has the same value as
resourceId. - name stringRequired
The name of the reporting task.
- appId stringRequired
The identifier of the app.
- error string
Currently empty for reporting task events.
- expiry string
The expiration date.
- status stringRequired
The status of the reporting task. This does not necessarily represent the outcome of an individual execution.
- enabled booleanRequired
Indicates whether the reporting task is enabled, both by the user and by the system.
- ownerId stringRequired
The identifier of the reporting task owner.
- spaceId string
The identifier of the space.
- traceId string
The identifier used for tracing the reporting task summary event.
- creatorId stringRequired
The identifier of the user who created the reporting task.
- thumbnail stringRequired
The link to the thumbnail image.
- resourceId stringRequired
The resource identifier of the reporting task.
- transports arrayRequired
The transport channels of the reporting task, for example
emailandsharepoint. Whenhassectionaccessis true,sharepointis omitted from this list. Usedistributionchannelsfor the channels as configured on the task. - workflowId stringRequired
Currently empty for reporting task events.
- createdDate stringRequired
The date when the reporting task was created.
- description stringRequired
The description of the reporting task.
- insightLink stringRequired
An insight link to open the app from the email.
- typeOfSpace string
The type of space.
- resourceLink stringRequired
Currently empty for reporting task events.
- resourceType stringRequired
The resource type of the reporting task.
- sharingTaskType stringRequired
The type of sharing task.
- hassectionaccess booleanRequired
Whether the associated app has section access enabled.
- sharingTaskOwnerId stringRequired
The identifier of the sharing task owner.
- distributionchannels arrayRequired
The transport channels as configured on the reporting task, for example
emailandsharepoint. Unliketransports, this list still includessharepointwhenhassectionaccessis true. - sharingTaskExecutionId string
The identifier of the sharing task execution, which covers the whole run of the reporting task. In
reporting-task.executed, several events can carry the same value, for example one for each recipient or filter group execution. - reportingServiceEventId stringRequired
The identifier of the reporting service event, when available.
- failedReports integerRequired
The count of reports that failed to generate.
- taskExecutionId stringRequired
The identifier of the reporting task execution this summary pertains to.
- failedExecutions integerRequired
The count of failed executions for the reporting task.
- successfulReports integerRequired
The count of successfully generated reports.
- emailRecipientsCount integer
The total count of sharing email recipients.
- successfulExecutions integerRequired
The count of successful executions for the reporting task.
- emailRecipientEnabledExternalCount integer
The count of external enabled sharing email recipients.
- emailRecipientEnabledInternalCount integer
The count of internal enabled sharing email recipients.
- emailRecipientDisabledExternalCount integer
The count of external disabled sharing email recipients.
- emailRecipientDisabledInternalCount integer
The count of internal disabled sharing email recipients.
-
com.qlik.reporting-task.summary.created
Example payload of the "Reporting task summary created" event
{ "id": "A234-1234-1234", "time": "2025-01-15T10:43:17Z", "type": "com.qlik.reporting-task.summary.created", "source": "com.qlik/my-service", "specversion": "1.0", "datacontenttype": "application/json", "userid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authtype": "User", "tenantid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authclaims": "{\n \"sub\": \"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\",\n \"email\": \"user@example.com\",\n \"roles\": [\"admin\", \"editor\"]\n}\n", "tracestate": "rojo=00f067aa0ba902b7,congo=t61rcWkgMzE", "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01", "data": { "id": "64b6d2e7a9f211331271421e", "name": "test", "appId": "9c6b39c8-4624-4b2c-8c7b-bb91b919a421", "error": "string", "expiry": "", "status": "VALID", "enabled": true, "ownerId": "63f622472ef44d955d3442a2", "spaceId": "63f622472ef44d955d3442a2", "traceId": "64b6d2e7a9f211331271421e", "creatorId": "63f622472ef44d955d3442a2", "thumbnail": "/api/v1/sharing-tasks/64b6d2e7a9f211331271421e/executions/latest/files/", "resourceId": "64b6d2e7a9f211331271421e", "transports": [ "email" ], "workflowId": "string", "createdDate": "2023-07-18T17:59:03Z", "description": "Weekly sales report for the EMEA region", "insightLink": "string", "typeOfSpace": "managed", "resourceLink": "string", "resourceType": "reporting-task", "sharingTaskType": "template-sharing", "hassectionaccess": true, "sharingTaskOwnerId": "63f622472ef44d955d3442a2", "distributionchannels": [ "email", "sharepoint" ], "sharingTaskExecutionId": "64b6d2e7a9f211331271421e", "reportingServiceEventId": "64b6d2e7a9f211331271421e", "failedReports": 0, "taskExecutionId": "64b6d2e7a9f211331271421e", "failedExecutions": 0, "successfulReports": 1, "emailRecipientsCount": 1, "successfulExecutions": 1, "emailRecipientEnabledExternalCount": 1, "emailRecipientEnabledInternalCount": 1, "emailRecipientDisabledExternalCount": 0, "emailRecipientDisabledInternalCount": 0 }}