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
It's possible (if complicated) to write a (text) Base64 encoder / decoder using an OOTB expression rule.
Hi Mike,
Thank you for the response!Does Appian not support Base64 encoding out of the box without creating a custom encoder?
If not, can you point me in the right direction as to some documentation related to this?
Thank you,
Nicholas
nfinelli said:Does Appian not support Base64 encoding out of the box
Correct
nfinelli said:If not, can you point me in the right direction as to some documentation
Is the Appian expression Rule i wrote in the linked thread above not sufficient for your use case for any reason?
My appologies, still new to Appian to community and did not see that you hyperlinked the OOTB text to your implementation.
That code is perfect, thank you very much! I will mark your first reply as correct.
Oops, Sorry about that then, I wasn't trying to hide anything from you Appreciate the feedback.