2 Replies Latest reply on Jun 3, 2009 8:48 AM by Johan Kumps

    [JBPM process xml] java method argument problem

    Cyril Delmas Newbie

      Hi all,
      I have some trouble using a java task :

      <java name="some java action" class="some.package.JavaAction"
       method="action" >
       <field name="intField">
       <int value="1" />
       <object class="some.package.Arg" init="#{unit}" />
       <transition to="wait2" />

      I don't know how to pass the variable unit, stored in the execution context, to the method action of JavaAction, taking one parameter of its type. This xml leads to an empty (default constructed) Arg object.

      Thanks for any help.