AnsweredAssumed Answered

Workflow - pooled actors: execute code on 'Take Ownerhip'

Question asked by grimme on Apr 4, 2007
Latest reply on May 14, 2012 by anik
Hi all,

I'm exploring the possibilities of working with pooled actors in Alfresco 2.0.
I was wondering if it would be possible to execute a piece of code when somebody pushes the 'Take Ownership' button.

In my case, I want to change the status of the file (attached to the workflow) from 'in queue' to 'assigned' the moment one pushes the Take Ownership button.

Preferably, I would like to define a piece of javascript in the xml definition of the workflow since this workflow definition already contains all other status changes and permission changes that are being applied during execution of the workflow.

Anybody any suggestions?