AnsweredAssumed Answered

Manage Workflows from outside Alfresco

Question asked by isloat on Jan 3, 2011
Latest reply on Jan 19, 2011 by isloat
Hi,
I'm using Alfresco 3.4a, I would know how can I use the WorkflowService to complete tasks and manage workflows from outside Alfresco. In particular from a Java Servlet. How I have to connect to use this functions?
(http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/workflow/WorkflowService.html)

I'm working in Alfresco share. I have an option in the documents of "Document Library" (Download, View in Browser, Edit Metadata,…..,MyOption) that redirect to my Java Servlet. There, I use the "WebServiceFactory.getRepositoryService()" to edit the document. But I want to complete a task of the workflow that the document is attached.

Please I would appreciate if you could show an example in Java. Because I have only found answers saying to use Web Scripts, but no code how to do it in Java.

Outcomes