cancel
Showing results for 
Search instead for 
Did you mean: 

Rest call / Send an uploaded file to a REST web service

r_kister
Champ on-the-rise
Champ on-the-rise

Hello,

I work on a process:

In this process, a file is uploaded in a form. And then, a would like to use a rest call task to send this uploaded file or his url to a REST web service.

is there a way to do this : i don't know how to get the url of the uploaded file and use it in the rest call task.

Can you help me.

Raphael

1 ACCEPTED ANSWER

gdharley
Elite Collaborator
Elite Collaborator

Raphael,

Documents that are uploaded are saved into the Activiti database.
You can retrieve the link to the content via REST API (details here), or you can use a Java Delegate to push to your external repository using the contentService bean (not documented).

Hope this helps,

Greg

View answer in original post

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Raphael,

Documents that are uploaded are saved into the Activiti database.
You can retrieve the link to the content via REST API (details here), or you can use a Java Delegate to push to your external repository using the contentService bean (not documented).

Hope this helps,

Greg