AnsweredAssumed Answered

Add a new workflow with Java

Question asked by ventus85 on Jul 4, 2011
Latest reply on Jul 6, 2011 by ventus85
Hi!
The list of workflows is the page http://localhost:8080/alfresco/s/api/workflow-definitions.
I would like to create a Java class that will allow me, through an interface (client), enter a new workflow.
I have a web page. This page is a list of workflow and an "add" button.
If I click, a window is displayed. In this window, I enter the data for the workflow (title, description etc). Then I click on a button "save" and the listener must add the new workflow.
I do not know how to do this last part, ie the addition of workflow in Alfresco.
How it works?
I have seen that there is a class Workflow Service (http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/workflow/WorkflowService.html) and I've read this thread http://forums.alfresco.com/en/index.php?t=16989 but I did not understand.

thank you

Outcomes