The POST action can be used to send files from a process to an external REST service. Use this approach when a process needs to upload documents, images, PDFs, or other file types to an external application, content repository, or service. Files can be sent as raw JSON content, multipart form data, or binary content depending on the requirements of the target REST API.
Use the POST action to send files when:
- Documents must be uploaded to an external repository.
- An external service requires file-based input.
- Images, PDFs, or attachments must be transferred to another application.
- Process content must be sent to an external API.
Note: Individual files are limited to 10 MB. Files are processed one at a
time to reduce memory usage. Processes that upload many large files concurrently may
experience longer execution times.
The following example uploads a file selected by a user.
The process is now ready to send files provided in the user
task.