2 Replies Latest reply on Sep 22, 2005 1:53 PM by jsanmarco

    Configuration of delegations question

    jsanmarco

      Hi,
      Is it possible to set the value of a field in a delegation class as the result of a script evaluation?
      For example:

      <node name="Task5">
       <action class="com.lumina.jbpm.tasks.Task5" config-type='bean'>
       <color><![CDATA[I want the value of color field to be setted as the result of an evaluation]]></color>
       </action>
       <transition name="toD2" to="decision2"></transition>
      </node>
      

      In this example the value for the field color would be the result of evaluating 'simpleVO.getColor()' where simpleVO is a VO located in the processInstance context.

      Thanks,
      Juan Manuel