cancel
Showing results for 
Search instead for 
Did you mean: 

I want to get the Workflow started automatically as soon as the any asset is uploaded....I want to achieve it through REST api.....Can anyone please help mw with this???

Aman_Kumar
Champ in-the-making
Champ in-the-making
1 ACCEPTED ANSWER

pibou_Bouvret
Elite Collaborator
Elite Collaborator

If you want to start a workflow with REST this is the right documentation :

POST http://NUXEO_SERVER/nuxeo/api/v1/id/{documentId}/@workflow

if you want the workflow to start automatically, you have to create an event listener

View answer in original post

7 REPLIES 7

Lassad_belhedi
Champ in-the-making
Champ in-the-making

Hi, You can consult the link : https://doc.nuxeo.com/810/nxdoc/workflow-task-endpoints/.

it may be able to help you

I am able to create workflow and tasks on an asset(Using the link which you have mentioned) but I want that the Workflow should be created automatically as soon as the upload is completed.(This is not available there).

explain to me ? you want to create it or start. Because the creation of the workflow is done at the Studio of Nuxeo.

For now I just want to start it.....using REST api without Nuxeo Studio.

Workflow should start automatically as soon as the asset uploading is done.

pibou_Bouvret
Elite Collaborator
Elite Collaborator

If you want to start a workflow with REST this is the right documentation :

POST http://NUXEO_SERVER/nuxeo/api/v1/id/{documentId}/@workflow

if you want the workflow to start automatically, you have to create an event listener

Thanks pibou Bouvret.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.