JBoss Community

Re: calling Java method from Service Task with multiple input parameters

created by Maciej Swiderski in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community