[jboss-user] [jBPM Users] - Re: How to signal subprocess?

2009-11-25 Thread rmoskal
Something like this works for me: ExecutionImpl tp = (ExecutionImpl) executionService.findProcessInstanceById(topPop.getProcessExecutionId()); | | ExecutionImpl subProc = tp.findActiveExecutionIn(activityName).getSubProcessInstance(); | |

[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-25 Thread rmoskal
The only way I've found to do this is to explicitly find the task for an activity using taskService.createTaskQuery(). Then I get the comments using taskService.getTaskComments(). Good luck. Robert View the original post :

[jboss-user] [jBPM Users] - Re: Querying Against Process Variables

2009-10-21 Thread rmoskal
No worries. businesskey, that was the key search term. So now hopefully we have a clearer connection between the two concepts. There were a few posts and that showed some hsql that worked with the TaskInstance class from 3.x. But no joy with the new 4.o domain objects. I see that we can get

[jboss-user] [jBPM Users] - Querying Against Process Variables

2009-10-20 Thread rmoskal
I'd like to get a list of running processes where a process variable has a certain value. The createProcessInstanceQuery doesn't support this. Can anyone suggest the simplest and or most idiomatic way to do this? Thanks and regards Robert Moskal Brooklyn, USA View the original post :

[jboss-user] [jBPM Users] - Re: Querying Against Process Variables

2009-10-20 Thread rmoskal
Ronald: You could interpret more charitably. I have indeed searched the forums and the length and breadth of the internet. Perhaps I need a custom hibernate query. Maybe somebody has already thought this through and would share it with the rest of us (saving me a bit of trouble). As I am

[jboss-user] [JBoss jBPM] - Decorating a Task on entering a Node

2009-08-19 Thread rmoskal
When I enter a task node I'd like to be able to decorate the created task with certain variables right after creation and assignment. I have all this happening in a task like so. task assignee=#{SKYLINE_ASSIGNEE} g=221,208,92,52 name=Work | transition g=-44,-26 name=to Escalate

[jboss-user] [JBoss jBPM] - Re: Jbpm-Spring app deployment to jboss Console Server!

2009-07-24 Thread rmoskal
Yes was a very fine answer and it filled with me with hope. I really want to leverage the restful apiprovided by the console server. But things aren't so simple. Now it seems obvious that the console server needs access to the spring context. Trying to enumerate a list of deployed processes

[jboss-user] [JBoss jBPM] - Re: Jbpm 4 and variable sub-process

2009-07-23 Thread rmoskal
Definitely, it seems that expressions aren't being evaluated for the key or the id. The debuugger shows an unevaluated expression being passed to SubProcessActivity. I'll have to rethink my application design if this is the case and if it isn't something that was left out of the initial

[jboss-user] [JBoss jBPM] - Jbpm 4 and variable sub-process

2009-07-23 Thread rmoskal
I read in the 3.2.2 docs one could dynamically specify a sub-process to run. Something like this: sub-process name='#{mySubProcess}' binding='late'/ | I was assuming that in 4.0 something like the following would work. But I always get a null pointer exception in SubProcessActivity at

[jboss-user] [JBoss jBPM] - Re: Jbpm-Spring app deployment to jboss

2009-07-23 Thread rmoskal
You are right of course, but I was wondering how my application deployment relates to to the existing Jbpm integration in JBoss, for eaxmple. Is it reasonable to have the JBoss gwt-server point at the same Jbpm database as that being used by my application? It would be nice to build a UI

[jboss-user] [JBoss jBPM] - Jbpm-Spring app deployment to jboss

2009-07-23 Thread rmoskal
Well now that I've been making good headway in integrating Jbpm4 and Spring I realize I haven't a clue as to how to deploy such an application to Jbpm living in JBoss, like when you install from the distribution ant scripts. Has anyone been thinking about this? Regards, Robert View the

[jboss-user] [JBoss jBPM] - Re: Some Questions about Spring JBPM4 Integration

2009-07-10 Thread rmoskal
I see how it's done. The current execution can be passed as a method parameter like so: This will be great once I figure out how to get it to work with grroovy or jython. View the original post :

[jboss-user] [JBoss jBPM] - Re: Some Questions about Spring JBPM4 Integration

2009-07-10 Thread rmoskal
I guess the instant reply doesn't like code. java expr=#{echoService} g=140,176,92,52 method=sayHelloWithExecution name=echo2 | arg | object expr=#{execution}/ | | /arg | transition g=-70,-22 name=accept to=join1/ |

[jboss-user] [JBoss jBPM] - Re: Some Questions about Spring JBPM4 Integration

2009-07-09 Thread rmoskal
Thanks for replying! You may have misunderstood me, I don't want to inject an Execution into the context. But I would want to pass it as a variable to say a entity. The existing Spring demo shows a HistorySession being passed as an argument to a method. I imagine there must be a way to

[jboss-user] [JBoss jBPM] - Some Questions about Spring JBPM4 Integration

2009-07-08 Thread rmoskal
Greetings all: I've been working with the excellent demo project posted by Andries Inzé that shows how to integrate Spring and jBPM4 at http://www.inze.be/andries/. I've managed to get things working against the trunk code but not CR1. I see how we can pass arguments to the java objects in