2 Replies Latest reply on Jun 6, 2006 12:10 PM by pedro costa

    action and variables

    pedro costa Apprentice

      1 - I have a processdefinition that in some states or task-nodes, has an action associated to the respective class.

      What i want, is to know which action had been occurred. Instead of putting code in the actionHandler, i would like to know if exists a way to get something that informs me that an action X had been occurred. For example, doing token.signal(), it returns the name of the action executed.


      2 - How can i put a variable with a value in the process definition? Something like this:

      <task-node name="task1">
       <task>
       <controller>
       <variable name="actionType" access="read">4</variable>
       </controller>
       </task>
      </task-node>
      


      This doesn't work.

      Sincerily,
      Pedro