Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Concept: Encoding Steps

Concept: Encoding Steps

Encoding steps enable you to encode, decode, compress, and decompress the contents of the
MediationContext
.
Workday Studio provides these
Encoding
steps on the
Palette
:
Name
Function
Notes
pgp-encrypt
Retrieves a public key and encrypts outbound data using PGP.
  • To encrypt messages using keys stored in Workday, configure a delivery service for your integration. Studio integrations don't have access to keys stored in Workday.
  • You can also reference a local PGP key using the file:// protocol, then deploy it with the integration. However, the delivery service method is best practice for Studio integrations.
pgp-decrypt
Retrieves a private key and decrypts inbound data that was encrypted using PGP.
base64-decode
Decodes a Base64 encoding of attachment data to binary format.
base64-encode
Encodes binary attachment data in Base64-encoding format.
zip
Transforms the root part and attachments from the
MediationContext
into a ZIP file.
unzip
Extracts the contents of a ZIP file.
  • If the ZIP contains more than 1 file, a multipart structure like the mediation message is preferred. Example: if you use the default output option of
    message
    , the first file in the ZIP becomes the root part and the other files in the ZIP become attachments.
compress
Transforms a single file in the
MediationContext
to a GZIP or BZIP2 file.
  • Unlike the ZIP step, this step doesn't support file archiving. Use it to compress single files.
decompress
Extracts the contents of a single GZIP or BZIP2 file.