Table of Contents

Search

  1. Preface
  2. Taskflows and linear taskflows
  3. Taskflows
  4. Linear taskflows

Taskflows

Taskflows

base64Decode

base64Decode

Returns the base64-decoded version of the input string provided based on the character set specified in the charSet argument. This function is typically used for attachments.

Syntax

util:base64Decode(
data, charSet
)
The following table describes the arguments:
Argument
Required/
Optional
Description
data
Required
String data type. Data that you want to decode.
charSet
Optional
Character decoding of the data. Taskflows support the character sets that Azul JDK supports for encoding. For example, US-ASCII, ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE, and UTF-16.
Default is UTF-8.

Return Value

Decoded value.
NULL if the input is a null value.

Example

You encoded MQSeries message IDs and wrote them to a flat file. You want to read data from the flat file source, including the MQSeries message IDs. You can use base64Decode to decode the IDs and convert them to their original string value.

0 COMMENTS

We’d like to hear from you!