I am currently using flowable-ui and flowable-rest api to create BPMN.xml file from flowable-ui and deploy through a postman to flowable-rest.
I’d like to use it for text file uploading usecase.
The function would be called by http task.
Would you please let me know which parameters of the http task I can use for file on XML and how I can send process-instances post request for multipart/form-data through postman.
Currently the /flowable-rest/service/runtime/process-instances REST API does not support sending file uploads like that.
What you would need to do is use the startFormVariables. You’ll need to have a start form for your process and in it you’ll need to have a defined upload form field for the file variable and pass in there a comma separated list of content items. You’ll need to upload the content item using the /flowable-rest/content-api/content-service/content-items REST API.