AnsweredAssumed Answered

Start workflow from external application

Question asked by alarocca on Jun 1, 2011
Latest reply on Jul 11, 2011 by ventus85
Hello, I would like to start a workflow from an external application using web service. I know that workflow service are not exposed as soap, so I am trying to call the start-workflow action (org.alfresco.repo.workflow.StartWorkflowActionExecuter).

I have the following problems:

  • That action defines only 3 parameters (workflowName, endStartTask, startTaskTransition). How can I specify other properties such as assignee, due date, priority, description)?

  • ActionUtils.executeAction requires parameters as HashMap<String, String>. If the above action allows to specify undefined parameters too, how can I specify values other than strings like nodeRef (assignee) or date?
Best regards,