Resource parameter types - Cloud

Talend Cloud Data Management Platform Studio User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend Management Console
Talend Studio
Content
Design and Development
There are 3 types of resource parameters.

resource_file_<parameter_name> and resource_directory_<parameter_name>

Use these parameters if the artifact needs a file or multiple files in a single directory to be executed.

If you run the artifact requiring multiple resource files in Studio, you need to provide the path to the folder where they are located as the value of the resource_directory_<parameter_name> parameter.

If you are running the task based on the artifact requiring multiple resource files, you must create the resource in Talend Cloud Management Console after the artifact is published from Studio to Talend Cloud. The resource files must be compressed to a single file, which must be uploaded in Talend Cloud Management Console as a Directory-type resource. The directory path is extracted during the task execution.

resource_flow_temp_folder

Use this parameter if you are executing a task in Talend Cloud Management Console and need to define a specific temporary folder for the task to use during execution. The temporary folder is created before the task is triggered and it is available to all actions in the task. The folder is deleted after the task is executed.

You must set the parameter type to String.

resource_webhook_payload

Use this context parameter to receive data from the source system when the task (artifact) execution is configured to be triggered via a webhook. The external system will call the task and pass data to this parameter.

Webhooks must be defined in a JSON format, where:
  • type: media type of the payload taken from Content-Type header, for example, application/json.
  • data: payload data
The following payload types are supported:
  • application/xml
  • application/json
  • text/plain
  • text/xml
Example:
[ { "type": "text/plain", "data": "Some Data" }, { "type": "application/xml", "data": "<SomeXml/>" } ]

You must set the parameter type to String.