How to base64 encode string in expression

Certified Associate Developer

Hello,

How would I go about Base64 encoding a string inside of an expression?

In my use case, I have an input to a process model where parameters is a list of type map

I would like to wrap local!JOB_ID in a function that converts it to Base64.

processParameters: {
    parameters: {
        a!map("operationId": 210),
        a!map("jobId": local!JOB_ID),
    }
}

Thank you!

  Discussion posts and replies are publicly visible