cancel
Showing results for 
Search instead for 
Did you mean: 

List of Active Workflows

tonyfoo
Champ in-the-making
Champ in-the-making
Hi All,

I am currently trying to display a list of all active workflows for a specific workflow definition. I am using Alfresco 3.1, and have been able to complete the task thus far. I must admit, I am quite new to Alfresco development.

How can I retrieve the workflow definition dynamically from the document it is attached to? How can I gather a list of workflow instances related to the workflow definition? As well, can i retrieve the document associated to the workflow instance?

If you have any additional questions please let me know.

Thanks,
Kyle
2 REPLIES 2

sdavis
Champ in-the-making
Champ in-the-making
Hi Kyle,

Have you checked out the activeWorkflows API under http://wiki.alfresco.com/wiki/3.1_JavaScript_API#ScriptNode_API ?

Scott

tonyfoo
Champ in-the-making
Champ in-the-making
Hi Scott,

Thanks for the link, I had previously looked at the API and did not notice anything relating to what I was looking for but at a second-glance I found a solutions.

Thanks,
Kyle