Question

Base64 data of the file

Hi all,

 

I have been working on one of the API which is taking Base64 data as payload.

So, I have read the data(Base64) from attachment in business process, but I am unable to pass it to the Web Service which I have created.

 

This base64 data cannot be stored in string field. Please help if there is any work around.

Like 0

Like

1 comments

Good day,

 

If you are working with data in a business process you could try converting data with the use of a script task.

Since you can use C# for scripts in processes you could try to build a conversion script from the information in these posts:

 

How do I decode a base64 encoded string?

How do I encode and decode a base64 string?

 

And also a very similar question on our Community here.

 

Hope it helps!

Show all comments