[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread mmusaji
As I am new to jBPM I was wondering from my workflow if there was anything you could suggest that would improve it? I have no wait states and thus all the java nodes will probably end up being custom nodes passing an object from one to the other till the end. Is this ok? View the original

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread kukeltje
If it does the job, scales well, I would change nothing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250371#4250371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250371 ___

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread kukeltje
or is it 'I wouldn't change anything'? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250372#4250372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250372 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread mmusaji
Thanks Ronald. I'll look in to this and I will give that a try. M View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250072#4250072 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250072

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread mmusaji
I am creating a variable and starting the process by providing these variables on startup. | MyObject myObject = new MyObject(); | myObject.setName(a name to set); | | variables.put(myObj, myObject); | | ProcessInstance processInstance =

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread kukeltje
show your process View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250142#4250142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250142 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread kukeltje
better, show the whole unit test. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250144#4250144 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250144 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread mmusaji
Okay so here's my workflow | ?xml version=1.0 encoding=UTF-8? | | process name=process xmlns=http://jbpm.org/4.0/jpdl; |start g=0,0,80,40 | transition to=parse request/ |/start | |java class=org.tlg.workflow.ParseRequest g=90,4,80,40 method=execute

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread kukeltje
Yep, was afraid of this. You odo not have any states in your definition, once it passes through all nodes, it is ended and removed from the active database to the history database. Good in one way, troublesome in this case. Just add a task before the end nodes and you can see the variables

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread mmusaji
Hi Roland Thank you very much. It works like a charm now. Be sure I will be back with some more newbie questions but just wanted to say thank you very much for your time and explanation on why it doesn't work. Regards M View the original post :

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread mmusaji
Don't know why I'm calling you Roland :) Sorry, I meant Ronald! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250228#4250228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250228

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-18 Thread kukeltje
no problem View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250259#4250259 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250259 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-17 Thread kukeltje
Process variables should exactly behave like this. So please give that a try or make a unit test that demonstrates what you want to do. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250001#4250001 Reply to the post :