Description:
The Transform Padding step adds configurable padding characters to one or more text columns within an ETL dataset. The transformation is configured through the Configure Padding property, where ETL designers define the source column, target length, padding character, and the padding direction (left or right, depending on the configured transformation options).
Many enterprise systems—including legacy applications, mainframes, banking systems, ERP platforms, and fixed-width file interfaces—require text fields to have a specific length. This transformation automatically pads values that are shorter than the required length while leaving values that already satisfy the configured length unchanged.
The Transform Padding step helps ensure that exported datasets conform to formatting standards without requiring custom scripting.
Unlike Transform Create Substring, which extracts characters, or Transform Text Replace, which substitutes text values, this transformation modifies the overall length of the field by adding configurable padding characters.
The Transform Padding step is typically placed after text cleansing and validation but before exporting data or loading it into downstream systems.
The step supports:
- Left padding
- Right padding
- Configurable padding characters
- Fixed-length formatting
- Multiple padding rules
- Enterprise ETL workflows
- Integration with FlowWright ETL pipelines
This step can be used for:
- Fixed-width file generation
- Account number formatting
- Product code normalization
- Legacy system integration
- Banking file preparation
- Report formatting
- Enterprise data exchange
Inputs
- Configure Padding – Configure one or more padding rules. Each rule specifies the source text column, target length, padding character, and the required padding behavior. Multiple padding rules may be configured within a single transformation.
Returns
- The Transform Padding step does not define explicit return paths.
Note: After all configured padding operations have completed successfully, ETL processing automatically continues to the next connected component. Any configuration or execution errors are recorded in the ETL execution log.
Usage:
The Transform Padding step is typically inserted after text cleansing and validation but before exporting data to fixed-width files, legacy databases, or enterprise systems that require standardized field lengths.
During execution, each configured source value is evaluated against the required target length. If the value is shorter than the configured length, the specified padding characters are added according to the configured padding rule.
A typical ETL pipeline might look like this:

Typical usage scenarios include:
- Padding customer numbers with leading zeros
- Formatting invoice numbers to fixed lengths
- Creating fixed-width export files
- Preparing banking transaction files
- Standardizing product identifiers
- Formatting employee numbers
- Preparing data for legacy ERP integrations
The padded values can then be exported, validated, or loaded into downstream systems that require fixed-length fields.
Prerequisite:
The ETL process engine service should be running to execute the ETL definitions.

Example:
Let’s build and execute the “clsTransformPaddingDef” example.
- Create a new definition named “clsTransformPaddingDef” and open it in designer mode.
- Drag “clsInputCSV, clsTransformPadding, and clsOutputCSV” steps to the canvas.
- Connect the dots between the “clsInputCSV” and other steps, as shown above.
- Define a variable or a global to hold the virtual path.
- Click the "clsInputCSV" step to configure its "Required" properties. Provide a name for the step. Specify the path to the input CSV file on the application server. Select the ETL data schema from the drop-down list. Note: The schema's column names should match those in the input file. Click the Save button. Click here to learn about ETL Data Schema Designer.

- Click the "clsInputCSV" step to view its "Optional" properties. Select the Show Schema button. The pop-up window displays the schema columns as shown below. This function helps to understand the schema at a glance.

- Click the "clsTransformPadding" step to configure its "Required" properties. Provide a name for the step. Select the output column from the drop-down list. Enter the input delimiter. Click the button to configure the columns to transform. Click the Save button.

- Click the "clsTransformPadding" step to configure its "Required" properties. Click the button to open the transform list configuration window. Click the Add Row (+) button to insert an empty row. Select the source text column from the drop-down list. Select the pad operator (left or right) from the drop-down list. Enter the pad character to apply. Click the Save button. You may add multiple columns for transformation by using the Add Row button.

- Click the "clsOutputCSV" step to configure its "Required" properties. Enter a name for the step. Enter the path to the output CSV file on the application server. Click the Save button.

- Click the "clsOutputCSV" step to configure its "Optional" properties. Provide a name for the step and specify the variable or global reference to hold the virtual output path. Click the Save button.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

- Save the ETL definition, create a new ETL instance, and execute. Render the ETL instance. Click the ETL step to view its properties. The “clsTransformPadding” step should pad the characters as configured in the output file. The variable or global holds the output file’s virtual path, as shown below.

Tips:
- Perform trimming before padding to avoid counting unwanted whitespace as part of the field length.
- Apply padding after all text replacement and normalization operations have been completed.
- Use leading zeros when formatting numeric identifiers that require fixed lengths.
- Verify the required field lengths specified by downstream systems before configuring padding rules.
- Preserve the original column by duplicating it first if auditing or comparison requirements exist.
- Test padding rules using representative production datasets before deployment.
- Combine this transform with Transform Text Trim, Transform Text Replace, Duplicate Column Value, Validate Data, Output Column Transform, JSON Output File, or SQL Output components to create comprehensive ETL data preparation workflows.
Notes:
- Multiple padding rules can be configured within a single transformation.
- Source text columns must exist within the ETL schema.
- Values that already meet or exceed the configured target length are typically left unchanged unless otherwise configured.
- Padding characters are added according to the configured padding rule.
- Invalid column mappings or padding configurations may result in ETL execution errors.
- This transform is commonly used for banking files, financial systems, ERP integrations, fixed-width file generation, customer identifiers, product codes, regulatory reporting, and enterprise data migration.
- Review downstream interfaces whenever field-length requirements change.
Transform Padding vs. Transform Create Substring:
Although both transformations modify text values, they serve different purposes:
| Transform Padding | Transform Create Substring |
|---|---|
| Increases the length of a value by adding configurable padding characters. | Extracts a portion of an existing value based on character position. |
| Used to produce fixed-length fields. | Used to isolate specific sections of a text value. |
| Commonly used for identifiers, account numbers, and fixed-width exports. | Commonly used for parsing structured codes and extracting business identifiers. |
| Preserves the original content while extending its length. | Produces a subset of the original content. |
As a general guideline:
- Use Transform Padding when values must conform to a required fixed length.
- Use Transform Create Substring when only a specific portion of the source value is needed.
Definition Sample:
You may download the sample ETL definition(s) from the link provided and later import them into your FlowWright ETL Designer.
Note: Verify and complete any missing configuration after importing the sample, including:
- Padding rules
- Source column mappings
- Target field lengths
- Padding character selection
- ETL schema validation
- Downstream transformation mappings
- Destination component configuration
- Environment-specific settings
After verifying the configuration, save the ETL Definition before execution.