3 Replies Latest reply on Dec 13, 2007 9:49 AM by Vt Ysh

    Assigning a task to pooled-actors via context var

    asaf sh Expert

      Hey,

      In creation time of a process instance I set a variable (lets name it 'username'),

      Then in the middle of the process I have a task node with a task which I want to assign to an actor based on the value of the 'username' variable which available in the context,

      I tried something like:

      <task name="usertask">
       <assignment actor-id="#{username}"></assignment>
      </task>
      


      But I guess this is not the way to extract context vars,


      Asaf.