Function reloadTasksResourceOnDatasetUpdated

  • Creates a reload task for the app that runs when a Data Integration (Qlik Talend Cloud) pipeline finishes updating or loading a dataset (QVD or data warehouse storage) that the app uses. This is a convenience wrapper over POST /scheduling/tasks; the full task definition is generated server-side. Use POST /scheduling/tasks for advanced configurations.

    Eligible datasets are resolved from the app's lineage when the task is created, as the task owner; datasets the app starts using later are not picked up. Other data sources, such as data files or QVDs in spaces, do not trigger the task. An app can have only one such task, and it is shared with the app's legacy reload-task auto-reload setting: changing that setting replaces or removes this task's trigger. One pipeline run may start the task more than once.

    Errors:

    • 400 CHO-001: the request body or the path id is invalid. This includes a name or description over its maximum length.
    • 403 CHO-003: the app does not exist, is not accessible, or the caller lacks app:reload on it.
    • 404: not returned for a missing app, which gets 403 as above. Kept for compatibility.
    • 409 CHO-031: the app already has a dataset-update task, enabled or not. Its ID is returned in value.existingTaskId.
    • 422 CHO-030: the app does not use any dataset produced by a Data Integration pipeline, or the task owner cannot see all of them. CHO-014: the app already has the maximum number of tasks. CHO-018: the caller has reached the per-user task quota, when one is configured.
    • 424 CHO-013: the task could not be stored. Nothing is created.

    Parameters

    Returns Promise<ReloadTasksResourceOnDatasetUpdatedHttpResponse>

    ReloadTasksResourceOnDatasetUpdatedHttpError