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"
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/594661#594661]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]