cancel
Showing results for 
Search instead for 
Did you mean: 

Starting workflow using webscript

amiramira
Champ in-the-making
Champ in-the-making
Hi, please how can i start a workflow using webscript
2 REPLIES 2

darkredd
Star Contributor
Star Contributor
Hello,

It is advisable to do your research first before posting as there are already so many solutions on forums.
Try this link: http://stackoverflow.com/questions/11688688/start-workflow-using-alfresco-java-script-api-or-through...

arak
Confirmed Champ
Confirmed Champ
You can use the RESTful API for starting your workflow:

POST

http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/processes?alf_ticket={ticket}

{
"processDefinitionId":"workflowName:1:104",

"variables":{
…,
"bpm_workflowDescription":"description of your workflow",

},

"items":[]

}

Greetings,
Pablo.