cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic deployment of workflow definitions in runtime.

michalwrobel
Champ on-the-rise
Champ on-the-rise
I would like to be able to dynamically deploy new workflow definitions by privileged user. There's a workflow console which allows to do that at developers level.
So I know it's generally possible but are there any APIs/Services leveraging this process?
If not at what level should I start coding to let's say allow admin to start/stop/deploy new process definitions from Share?
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
You need to explore the workflow service in that case.

angello0571
Champ on-the-rise
Champ on-the-rise
Hi,

There is a console to deploy/undeploy workflow definitions and workflow instances. The url is the next one:
http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp


You can apply commands such as :
deploy activiti alfresco/extension/workflows/SomeProcess.bpmn20.xml
undeploy definition activiti$SomeProcess:2:1204

Here is a great tutorial created by Jpotts where you can find more useful commands

http://ecmarchitect.com/archives/2012/02/20/1552

Best Regards.

michalwrobel
Champ on-the-rise
Champ on-the-rise
Sure I'm aware of this console, I use it often myself :wink:  But docs state it's not recommended to use this for end user. I thought about managing workflows (and its forms) directly from Share.