0

There are many elements in repo and I start workflows specifying a document attached to the workflow: var workflow = actions.create("start-workflow"); // ...
var node = search.findNode("workspace://SpacesStore/" + uuid); workflow.execute(node);

Workflow starts so I can see it in my-tasks page.

Then I want to receive an active task from the workflow and a list of people who works due to this task. Is it possible? Moreover I want to get a list of people assigned to the workflow at all.

But this is not all! I want to receive custom properties defined in the workflow model, but I don't see anything like properties field or methods to get property in the WorkflowInstance.

I'm sure that I just don't undestand something, so explain me please: how can I do everything I asked?

Alexey
  • 301
  • 5
  • 18
  • Do you have one workflow instance with multiple parallel tasks (fork/join) which are assigned to different people or does each user have his own workflow instance (with a single task)? – Florian Sep 28 '11 at 21:35
  • One instance with parallel tasks. – Alexey Sep 29 '11 at 07:56
  • Have you read the [Workflow Java Service](http://wiki.alfresco.com/wiki/Workflow_Reqs_and_Design#Workflow_APIs) docs? – Gagravarr Sep 29 '11 at 09:00
  • Not very closely, unfortunately. :( I'll read it. Thanks. – Alexey Sep 29 '11 at 12:23

0 Answers0