JBoss Community

Variables types / String too large for column

reply from Charles Aznavour in jBPM - View the full discussion

Hi Huisheng,

 

looks even better. But with this (and Michaels) way, we´re unable to use the String value of the variable in expression language. For example, if we store a lot of users comma separated in this variable and want them to receive a mail, we get a ClassCastException as char[] is not a subclass of String.

 

Probably we´ll stick with our container object, because here we can simple use the getter to receive the String in expression language, i. e. ${myvar.value}. Not nice, but works.

 

Huisheng, any ideas how to tweak jbpm to get the char[] working in EL like a regular String variable?

 

Cheers,

Charles

Reply to this message by going to Community

Start a new discussion in jBPM at Community