File Upload and Download

1
0
-1

Hello,

I want to upload file at the start of the process and read the file on a custom connector in the next step. I have reviewed the DemoUploadFileDiagram which demonstrates an upload and download documents in the middle of the process.

What are the differences for this task vs. the demo?

  • created myDocument and Initial content from contract input

  • in connector I have input type of FileInputValue

I'm having a lot of type collisions in my implementation class.

Open url to file -> submit process --> have connector read input parameter --> FileInputStream --> output values from file.

Thank you

Comments

Submitted by mtdonovan on Wed, 08/19/2015 - 15:22

Getting the following warning.
File looks like it uploads but getting error 400 when clicking download link

2015-08-19 08:16:21.229 -0500 org.bonitasoft.console.common.server.page.ResourceRenderer org.bonitasoft.console.common.server.page.ResourceRenderer getFileContent
WARNING: Cannot find the resource file C:\BonitaBPMSubscription-7.0.0\workspace\tomcat\bonita\client\tenants\1\work\pages\p6750597259663426962_custompage_reviewAccountRequest\resources\documentDownloadURL

1 answer

1
0
-1
This one is the BEST answer!

Added the correct url link to the GUI

return "/bonita/portal/" + $data.context.myDocument_ref.url;

Notifications