Skip to main content
MRFRANQ
Gold ⭐️
Dec 21, 2021 1:14 PM UTC
Question

How to concatenate base64 encode result?

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

ChuckE
Gold ⭐️
Oct 4, 2022 10:34 PM UTC

How did you eventually solve this?

Translate
Green_
Gold ⭐️⭐️
Oct 9, 2022 5:15 AM UTC

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

Translate
MRFRANQ
MRFRANQAuthor
Gold ⭐️
Oct 5, 2022 11:42 AM UTC

I couldn't find a solution for this.

Translate