[jboss-user] [jBPM] - Re: calling Java method from Service Task with multiple input parameters
Maciej Swiderski
do-not-reply at jboss.com
Tue Dec 6 12:34:59 EST 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: calling Java method from Service Task with multiple input parameters"
To view the discussion, visit: http://community.jboss.org/message/640121#640121
--------------------------------------------------------------
Unfortunately that is the limitation of the ServiceTaskHandler implementation. It supports only one parameter of any type. So one alternatives would be use either some kind of Java bean or Map/List as parameter.
Attached you can find bit enhanced version of the service task handler that allows any number of parameters to be given but of the same type, it has limitation as well ;(
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/640121#640121]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111206/503509f6/attachment.html
More information about the jboss-user
mailing list