Skip to main content
Participating Frequently
May 11, 2022 11:54 PM UTC
Solved

Pass a Web API Document Upload into a Process Model

Hi,

We have a requirement to upload files coming form an external system to Appian. I am following this tutorial:  

https://docs.appian.com/suite/help/22.1/passing-a-web-api-document-into-a-process-model.html

I created all the objects required (process model, cdt, etc.). How can I test this in the test Inputs section? The "Body" field says Select a document. Is this asking for a full path of the file to be uploaded? What is the syntax for setting the Body field?  

stefanhelzle0001
Brainy
May 12, 2022 5:56 AM UTC

The file to select must be uploaded to Appian before.

2 replies

stefanhelzle0001
Brainy
May 12, 2022 5:56 AM UTC

The file to select must be uploaded to Appian before.

Inspiring
May 12, 2022 6:12 AM UTC

You have to upload a document not path, If your logic is correct then it creates a new document.