[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-28 Thread shea.phillips
I now have my process working pretty well. I am invoking my seam components in bsh inside a script element with variable elements. This seems to work reasonbly well, although ultimately I would like to have less bsh. I will be doing more investigation on how to enable this. One problem I did

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread shea.phillips
ok - so I now have 'script' contents being executed. Had to uncomment the Script.hbm.xml reference from jbpm's hibernate config file and include bsh.jar in my classpath. There is doco on this, but it didn't jump out at me initially. IMO, having Script support disabled by default is a bit wei

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread kukeltje
why not create a new topic for this if you already know it is oftopic??? anyway... Sorry, I have no idea never tried multiple apps accessing the same process in a seam way. For jBPM itself it is no problem. Maybe you should ask in the seam forum oh wait. :-) View the original post :

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread viniciuscarvalho
Kinda OT, but maybe someone could help me: Can I access a process deployed outside a seam application using @CreateProcess, @EndTask etc.? Seems that seam only allows process that resides inside the application and are defined on the components.xml Regards View the original post : http://www.j

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread dslevine
i am using 3.1.2 and script works for my use cases. Can you post the specific code that is having problems? Here is a sample of script code I use, where contractSummary is a variable placed into the workflow context in Java code: | | | |

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread shea.phillips
#$#%^& truncated againcan't use angle brackets apparently... last bit was: 'is it possible that 'script' is not fully supported in jBPM 3.1.4? thanks, Shea. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032167#4032167 Reply to the post : http://www.jb

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread shea.phillips
My last reply did get truncated - probably my fault. What got clipped was saying that I thought the script element would possibly do what I need. '$myVar; should have been '$recordId', which I have since learned should be accessible as a naked string in an expression (i.e. recordId). I have do

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread dslevine
I think you can do all that. I dont see "$myVar" in your code sample, and your second sentence didn't quite finish. Look at decision nodes, and look at the script elements and variable tags in jpdl. Take a look in the docs and post here if you need clarification. View the original post : ht