AnsweredAssumed Answered

Control user performing automatic task

Question asked by pcuvecle on Dec 22, 2006
Latest reply on Dec 3, 2007 by ribz33
Hi,

Since it is possible to write automatic task in a jBPM Workflow, how is it possible to control what user will run the associated action ?

ex :


<task-node name="myNode">
      <event type="node-leave">
         <action name="myAction" class="myActionHandler"></action>
      </event>
      <transition name="tr2" to="myOtherTask"></transition>
</task-node>

In that case myActionHandler will encapsulate some code that will manipulate content in the repository and I would like to be able to define an Alfresco user to perform this task since I need to give the appropriate rights to him.

Any idea ?
Thanks in advance

Outcomes