Support Questions

Find answers, ask questions, and share your expertise

How to concatenate base64 encode result?

avatar
Explorer

I have a stream in which I generate a json file with GenerateFlowFile, then I use Base64EncodeContent to encode the json file. I need to take the base64 encode result and concatenate it with a sentence, to finally move to invokehttp. I tried MergeContent for this and was not successful.
I'm not able to find a way to get the result of the Base64EncodeContent encode and concatenate it with the sentence. I would like suggestions on how to carry out this flow.
Below is the flow I drew:

 

process.png

 

3 REPLIES 3

avatar
Expert Contributor

How did you eventually solve this?

avatar
Expert Contributor

The ReplaceText procesor has a prepend/append mode which might be of help

avatar
Explorer

I couldn't find a solution for this.