[jboss-user] [jBPM] - setting a list as an argument of a java task.

Samrat Roy do-not-reply at jboss.com
Tue Mar 22 03:59:55 EDT 2011

Samrat Roy [http://community.jboss.org/people/whizkid.samrat] created the discussion

"setting a list as an argument of a java task."

To view the discussion, visit: http://community.jboss.org/message/594661#594661

Hi ,

I want to set the parameter of a java task method as a list :

here is my jpdl snippet:

  <java expr="#{configurationService}" g="320,102,130,52" 
      <arg><string value="c2314"/></arg>
      <transition g="-103,-18" name="to GetNextApprover" to="GetNextApprover"/>

   <java class="com.canon.jBpm.services.LoadConfigurationService" g="324,200,122,52" 
   <arg>*Insert syntax to pass configuration obtained in the previous java block*</arg>
      <transition g="-96,-18" name="to SendNotification" to="SendNotificationforApproval"/>

Configuration obtained in var = "configuration" is of type List<LMSUserApproverConfig> config.

the method signature of the method getNextApprover is 

public LMSUserApproverConfig getNextApprover(List<LMSUserApproverConfig> config);

How to do it?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110322/c75cda86/attachment.html 

More information about the jboss-user mailing list