Skip to main content
scarg
Participating Frequently
Aug 17, 2022 2:23 PM UTC
Question

Getting the base64 for a given document

Is there a way to get base64 for a given document?

I have a Expression rule where one of the rule inputs is a document. I'm using this Expression rule to prepare the body to be sent in one Integration object (we need to execute some logic, and that's the reason why we are doing it in one ER). How can I get the base64?

We know that we can manage it by adding a rule input in that integration object, and passing there the document which will be automatically converted to base64, but the approach mentioned above is possible?

Thanks in advance

5 replies

harshitb6843
Brainy
Aug 17, 2022 2:27 PM UTC

There is a plugin for this but it requires involving the Db - community.appian.com/.../base64-document-database-integration

scarg
scargAuthor
Participating Frequently
Aug 17, 2022 2:29 PM UTC

Yeah but we don't want to manage it on DB

bradc0001
Participating Frequently
Dec 9, 2022 9:59 PM UTC

[mention:7ebed21b7ce742a999462e50d580ed48:e9ed411860ed4f2ba0265705b8793d05] Did you ever come up with a solution to this? I am trying to accomplish the same thing.

stefanhelzle0001
Brainy
Dec 10, 2022 9:07 AM UTC

The only official way of dealing with this, is inside the integration. Because of possible memory consumption issues, Appian is very restrictive on this.

bradc0001
Participating Frequently
Dec 12, 2022 4:08 PM UTC

Thanks Stefan, that was my assumption.  I thought I remembered a function or plug-in way back in the day that had this capability, but obviously can no longer find that ability.