Resource parameter types - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29
Available in...

Cloud API Services Platform

Cloud Big Data

Cloud Big Data Platform

Cloud Data Fabric

Cloud Data Integration

Cloud Data Management Platform

Data Fabric

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 Talend 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 Management Console after the artifact is published from Talend Studio to Talend Cloud. The resource files must be compressed to a single file, which must be uploaded in Talend 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 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.