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

2009-11-03 Thread kukeltje
Sorry, forgive me, I forgot to read the subject of the post. It's about static methods. Nevertheless, the usage of the same variable and 'Object' type could be an issue as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263800#4263800 Reply to the post

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

2009-11-03 Thread sebastian.s
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 var

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

2009-11-03 Thread kukeltje
Strange, I would have thought it to be a similar issue, but in Toms case it might be that Integer.parseInt(Object) does not exist as a method signature. Oh, and the argument and the return value are the same variable, But the types are different... Is that the usecase? Then he should add more in

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

2009-11-03 Thread jbarrez
@Sebastian: Tom ran into a similar issue this morning: https://jira.jboss.org/jira/browse/JBPM-2622. Does the issue fit with your original problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263619#4263619 Reply to the post : http://www.jboss.org/index.

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

2009-11-02 Thread sebastian.s
Thanks for your efforts. Today my head was a bit fuzzy after almost 12 hours. I quickly posted because I did not expect such quick answers to my posts. Everyting works fine for me with: | | However I didn't know you should or could use when using expressions. So thanks again. Next tim

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

2009-11-02 Thread jbarrez
Right ... too much forum posts make your head fuzzy (or at least, my head ;-) Anyway, it should work with 'object' too, as far as I'm concerned. @Sebastian: you have a test case I can play with? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263554#4263554 R

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

2009-11-02 Thread kukeltje
the difference being object vs string in the jpdl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263538#4263538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263538 ___ jboss

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

2009-11-02 Thread jbarrez
The expressions looks correct. I'm using a similar one in my train ticket demo: https://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/jbpm-on-rails/trunk/process-logic/src/main/resources/org/jbpm/trainticketdemo/process.jpdl.xml Where from is a process var. View the original po

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

2009-11-01 Thread sebastian.s
I am using | | attendeeId is process variable of type String. | Caused by: java.lang.Exception: couldn't create argument 0: script evaluation er | ror: javax.el.PropertyNotFoundException: Cannot find property attendeeId | at org.jbpm.pvm.internal.wire.descriptor.ObjectDes

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

2009-10-26 Thread sebastian.s
Thanks, Ronald. It was somehow too obvious. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262321#4262321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262321 ___ jboss-user

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

2009-10-26 Thread kukeltje
If you take a look at the java example in the examples folder in the source, you can see that 'joesmoe' is the name of the variable. handshakes is a getter for a map which in turn contains force and duration as integers. So if you have a plain string as a variable, just use the name in the EL.

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

2009-10-26 Thread sebastian.s
Hello again! >From the documentation about java activities: | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | | | | | | | | | | | | | | anonymous

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

2009-10-10 Thread kukeltje
anonymous wrote : *ping kukeltje* 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=1 ttl=116 time=1h20m10s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=2 ttl=116 time=1h20m11s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=3

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

2009-10-10 Thread sebastian.s
*ping kukeltje* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259736#4259736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259736 ___ jboss-user mailing list jboss-user@list

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

2009-10-08 Thread sebastian.s
Thanks for the update, Ronald. I was already afraid one could not understand my post. It is too kind of you that it is on your list for the week end. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259512#4259512 Reply to the post : http://www.jboss.org/index

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

2009-10-08 Thread kukeltje
sorry, no (not yet). As announced I have way less time since 01-10-09 and have not had the opportunity to look into it. It is on my list for the weekend. (pinging me around that time might help though ;-)) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259464

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

2009-10-07 Thread sebastian.s
Anybody? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259271#4259271 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259271 ___ jboss-user mailing list jboss-user@lists.jboss