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"
method="loadConfiguration"
name="LoadConfiguration"
var="configuration">
<arg><string value="c2314"/></arg>
<transition g="-103,-18" name="to GetNextApprover" to="GetNextApprover"/>
</java>
<java class="com.canon.jBpm.services.LoadConfigurationService" g="324,200,122,52"
method="getNextApprover"
name="GetNextApprover"
var="approver">
<arg>Insert syntax to pass configuration obtained in the previous java block</arg>
<transition g="-96,-18" name="to SendNotification" to="SendNotificationforApproval"/>
</java>
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?