2 Replies Latest reply on Oct 3, 2005 5:40 PM by mtb2ride

    Accessing Process variables in sub-process

    therisingsun

      hi

      I am trying to access parent process variable in the sub-process using variable transfers method(and mapping) but I am not getting any variable in an ActionHandler of a node in the sub-process


      <!-- Invoking the sub process -->
      <process-state name="parent process">
       <sub-process name="sub-process">
       <variable name="MyName" access="read" mapped-name="MyName" />
       </sub-process>
       <transition name="tr_Next" to="TheNextNode" />
      </process-state>
      


      Is this the correct way of using process-state tag and variable mapping ?

      I tried using ExecutionContext and ContextInstance to access the variables defined above i.e. MyName and MyNameSub but got null

      anyone who has used this feature ? any help is appreciated

      Regards
      Arun