Skip to main content

Base64 Field Decoder

The Base64 Field Decoder decodes Base64 encoded data to binary data. Use the processor to decode Base64 encoded data before evaluating data in the field.

When you configure Base64 Field Decoder, you specify the byte array field to decode and the target byte array field to pass the decoded value to.

Configuring a Base64 Field Decoder

Configure a Base64 Field Decoder to decode Base64 encoded data to binary data. The processor can decode data from a single byte array field. To decode additional fields, add additional Base64 Field Decoders to the pipeline.

  1. In the Properties panel, on the General tab, configure the following properties:

    General PropertyDescription
    NameStage name.
    DescriptionOptional description.
    Required FieldsFields that must include data for the record to be passed into the stage.

    Tip: You might include fields that the stage uses.

    Records that do not include all required fields are processed based on the error handling configured for the pipeline.
    PreconditionsConditions that must evaluate to TRUE to allow a record to enter the stage for processing. Click Add to create additional preconditions.

    Records that do not meet all preconditions are processed based on the error handling configured for the stage.
    On Record ErrorError record handling for the stage:

    _ Discard - Discards the record.
    _ Send to Error - Sends the record to the pipeline for error handling.
    * Stop Pipeline - Stops the pipeline. Not valid for cluster pipelines.
  2. On the Base64 tab, configure the following properties:

    Base64 Field Decoder PropertyDescription
    Field to DecodeByte array field to decode.
    Target FieldByte array field in the record to use for the decoded data.

    You can specify the same field to replace the original data with the decoded data. Or you can specify another existing field or a new field. If the field does not exist, Base64 Field Decoder creates the field.