Hi,
I'm using an Integration component to call a REST API that allows to return a PDF file (the input is a document ID).
In the Integration Response Body Parsing selection, I've chosen the "Convert binary to Appian object" option to store automatically the document in Appian.
All works fine, the document PDF is retrieved then stored in Appian KC.
The issue I meet is to deal with the error case:When the API is called with an incorrect Document ID, the Integration error output result is stored in Appian as a Json file.
But I don't want this Json file to be store in the Appian KC.
If I want to choose the "Return raw response body" to manually deal with the raw body response, could you tell me how may I manually convert and upload the binary content to a PDF file in Appian please ?
Regards
Discussion posts and replies are publicly visible
I think you cannot do that directly. But that integration is probably called in a process, so you could react on that error in that process model and delete that JSON file.
I would have thought there were some binay conversion function available in Appian (like we can do with Java)... but in that case, ok, I will delete the json file from the process.
Thank you Stefan.