2 Replies Latest reply on Sep 14, 2010 4:10 AM by Jimmy Smith

    How to access processinstance in JPDL?

    Jimmy Smith Newbie

      How can I access a process instance in jPDL, eg when I want to pass the id or key of the processInstance to a java activity?

       

      <java class="...classname..." method="execute" name="DoSomeJava">
        <arg>
          <object expr="#{??????}"/>
        </arg>
        <transition to="Next Step"/>
      </java>

       

      What must ????? be to send the processInstanceId/Key to the java class?

      I can't seem to find a reference to see which process attributes are available and how. Might also be handy to at times send activity name to generic java classes, etc.