api rest upload and download files process

Upload File to Case Instanced

Hi,

I need to send via API url a file (example .xls) to a variable inside an instantiated case. I want to send it to a variable document I created.

Because I need my first task of the process is Service Task and during the process I take the data from this spreadsheet and put it in a Table in BDM.

Can anyone help me or do you have any documentation?

How to access file via selected table object.

Hey guys,
I'm new to bonita and today I tried the upload widget by using this example:
https://community.bonitasoft.com/questions-and-answers/file-upload-widget

So I can upload in one task a pdf-file and download it again in the next task. That works.
But now I want to download the file in another way. My project looks pretty simple, I have 2 forms and one Page.

upload and download files REST API

Hi.
I´ve intent to create a instance of process (upload and download) using rest API.
http://localhost:8080/bonita/API/bpm/case/

params: (dataType:json, contenType:application/json)

{ "processDefinitionId": 7641499513921091240, "variables": ["myDocumentContract": { "filename": "07749533.pdf", "tempPath": "tmp_8964658850826963659.pdf", "contentType": "application/pdf" }]}

But it doesn´t work

Notifications