Set Header Activity
The Set Header activity enables users to modify or assign a new header name to an existing column within a specified dataset. This activity is crucial for standardizing column names, improving data readability, and ensuring consistency across various data processing workflows.
| Field | Description | Requirement |
|---|---|---|
| Dataset name | The reference name of the dataset where the column header will be modified. | Required |
| Column | The identifier for the target column, which can be either its name (string) or its zero-based index (digit). | Required |
| New header | The new header name to be assigned to the selected column. | Required |
Action Types & Examples
Dataset Name Configuration
- Format: String
- Example Result:
newDS
Column Identification
- Format: String or Digit
- Example Result:
0or"Name"
New Header Assignment
- Format: String
- Example Result:
"Company Name"
Implementation Examples
Field Setup - Dataset name: newDS - Column: 0 - New header: Company Name
Execution Parameters - Dataset name: customerData - Column: "Customer ID" - New header: "CustomerID"
Technical Notes
Ensure the specified dataset exists and the column identifier (name or index) is valid within that dataset. Providing an invalid column identifier will result in an execution error. The new header value will overwrite any existing header for the selected column, so verify the target column before execution.