Use the Base64Decode component
Convert a base64 string to text by using the Base64Decode component in RPA Desktop Design Studio.
Before you begin
Role required: none
About this task
You can configure the properties for the Base64Decode component. For more information about these properties, see Properties of the String Utilities components.
Procedure
In the Toolbox pane, navigate to Utilities > String Utilities.
Drag the Base64Decode component to the Design surface.
To configure the input field, see Configure port properties.
Connect the data and control ports of the Base64Decode component to the corresponding ports of the other components as described in the following table.
| Port type | Purpose of connection | Data port type | Data type |
|---|---|---|---|
| Base64String | Used to specify Base64 string that converts to a normal string.Takes the encoded Base64 string from a previously executed component, such as Base64Encode component. For example, if you input a value like `1234test` in the Base64Encode component and then connect it to the Base64Decode component, running the components will result in the Base64Encode component encoding the value `1234test` and passing it to the Base64Decode component. The Base64Decode component then decodes the encoded value, such as "MzIzNDIzdGVzdHR0" and retrieves the original output as "1234test". Image omitted: base64decode-stringutilities-rpa.png Encoded text decoded by Base64Decode component | Data In | String |
| Return | Returns a string representing plain text. | Data Out | String |
- To test the component, under the DESIGN tab, click Run.
Parent Topic:String utilities