Hi Guys,
In my project, we currently did a webapi to get the base 64 from system and pass into different system as base64. Due to this in prod we are facing large memory sizing and I came to know instead of passing bas64 we have a option to pass todocument to reduce the memory size . However, my question how other system can read if we are passing document? Please confirm the approach is possible or else suggest some other approach.
Thanks,
Pradeep Sridharan
Discussion posts and replies are publicly visible
When you write "passing document" I assume you mean "send that document to another system using an Appian Integration". If this is what you are looking for, just consult the documentation. I describes all the necessary steps.
Thanks for your response.
Actually my design of the Webapi showing below,
My queries:
Yes, that should work. There are examples in the documentation for how to manage both scenarios. You just need to combine them.
In documentation, I am seeing only for integration document objects perspective and not able see for Webapi. Can you please share the documentation for webapi prespective.
I am sharing the link for integration object base 64 : https://docs.appian.com/suite/help/23.1/Integration_Object.html#sending-base64-inline-with-json
https://docs.appian.com/suite/help/23.1/passing-a-web-api-document-into-a-process-model.html#
Shared link describes the "External systems can push documents to Appian using a Web API. You can then pass the newly uploaded document into a process model for routing, task assignment, and more."
But I am asking vice versa. If Appian send document to external system without base 64 and pass only document".
I know, but the principle is the same. You replace the startProcess with your integration call. And in case this does not work, just start the process and make that send to document to that other system.
Let me check and get back to you if any issues.
One more question:
If I pass document from Appian webapi into other external system, then do you think other system(any front develop technology) can able to read the document and download it?
Note : i am not passing base 64 and pass only document.
Appian will, if configured correctly, transform automatically to/from Base64.