I'd like to send documents from our Appian environment to another system using that system's web service. It was easy to make this work with small documents whose contents I can easily stream in body of a single request.
However, the web service will not accept request bodies longer than a few MB and some of the documents I need to send are much larger than that (up to several hundred MB). The web service offers endpoints that support sending the document in pieces so that I could, for example, send a 10 MB document with 10 sequential calls, each containing one of the 10 parts of the document. However, the web service documentation just provides examples in C# and Javascript, which we obviously cannot use here.
Is there a way to split a document into parts? I've searched the cloud-supported plugins and don't see anything like this.
Discussion posts and replies are publicly visible
Sorry, there is no available functionality to split files on a binary level. You will need to create a plugin. It might be a good idea to implement the whole upload logic into this plugin instead of trying to split the documents and use an integration to upload the parts.
One way is to convert the document to base64 format, then send the base64 data to the target system in multiple web service calls. At target, concatenate the received base64 data and convert the concatenated base64 data to document.
Thanks for the suggestion. However, I don't have control over the target system. It's another third-party platform.
Thanks for verifying that this is not supported yet. We'll automate this with RPA, then.