cancel
Showing results for 
Search instead for 
Did you mean: 

Display Files attached in previous Process Instances

gbanks
Confirmed Champ
Confirmed Champ

Given a Process Instance ID OR ContentId, I need to be able to display to the user in a downloadable format all files attached during that workflow. These files are being stored as BLOBs in an Oracle database table. Is there a way I can display these files to the user following a query of that process instance ID? The "link" column of this table is empty.

34 REPLIES 34

cjose
Elite Collaborator
Elite Collaborator

It should work then. Share a screenshot of the error

gbanks
Confirmed Champ
Confirmed Champ

Got it to work. This is still not ideal, as I'd like to be able to embed the file directly in the form rather than needing to click a link, but it will work for the time being. Thank you so much, Ciju.

cjose
Elite Collaborator
Elite Collaborator

Great! It is not too difficult to embed them to the form/process using the JAVA APIs.

gbanks
Confirmed Champ
Confirmed Champ

How though? I come back to the same question as earlier- when I do the Java API call to return the raw content, I'm not able to map it in anyway that let's me reference it in a "Display Value" on a form.

cjose
Elite Collaborator
Elite Collaborator

If you can share the java code you have implemented to do that, I may be able to help.