Progressing Alfresco workflows through web script

Posted by Domchi on Stack Overflow See other posts from Stack Overflow or by Domchi
Published on 2010-03-16T15:07:41Z Indexed on 2010/04/08 19:13 UTC
Read the original article Hit count: 379

Filed under:
|

I have an Alfresco document reference; what I'm looking for is a way to access workflow attached to that document and finish it (or progress it to the next transition) through Javascript.

Almost every example on the web shows how to start workflow, and from the dashlet I could call task command processor (/alfresco/command/task/end/[/transition]) if I knew the task ID, but how do I do the same thing from server-side web script starting only from the document reference?

There must be a way to access workflows from document and manage them programatically.

© Stack Overflow or respective owner

Related posts about alfresco

Related posts about Workflow