AnsweredAssumed Answered

Process Variables of previous Nodes and Tasks

Question asked by jwrobel on Jan 9, 2009
Hey Everyone,

Does anyone know how to access Process Variables of Previous Nodes and Tasks?

Example:
Say for instance, I have Two Nodes (Check and Approve)  each w/ task (swf:catstuff and swf:makeitso). In the script tag of Approve Node, how would I check who completed the swf:catstuff Task?



   <task-node name="Categorize">
      <task name="swf:catstuff" swimlane="office_managers" />
      <transition to="Approve" name="Approve"></transition>
      <transition to="Disapprove" name="to Disapprove"></transition>
   </task-node>
  
   <task-node name="Approve">
      <task name="swf:makeitso" swimlane="contracts_administrators" />
      <transition to="end-state1" name="Approve"></transition>
      <transition to="Disapprove" name="to Disapprove">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
              */
              get person who completed swf:catstuff
              /*
            </script>
         </action>
      </transition>
   </task-node>

-Justin

Outcomes