[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls

sebastian.s do-not-reply at jboss.com
Tue Nov 3 13:13:51 EST 2009

Hello Joram,

no, everything works fine for me. I had an error in reasoning. I was trying to access process variables which were not set yet. But I noticed one thing of which I was not aware before because I wasn't that proficient with reflection:

Supposing you want to use an integer process variable as an argument for a method call you'll have to use the wrapper class in the method signature. Maybe one should mention this in the userguide to have this remembered when writing java classes to be invoked. I used "int" and at first could not understand why my methods could not be found on the class.

However, I am not sure if I understand the issue you pointed me to. What is Tom trying to do?  He's trying to have an existing process variable be parsed as an Integer and then he is saving the result in a process variable of the same name?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263784#4263784

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263784

More information about the jboss-user mailing list