Something like this works for me:
ExecutionImpl tp = (ExecutionImpl)
executionService.findProcessInstanceById(topPop.getProcessExecutionId());
|
| ExecutionImpl subProc =
tp.findActiveExecutionIn(activityName).getSubProcessInstance();
|
|
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 :
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
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 :
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
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
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
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
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
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
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
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 :
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/
|
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
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
15 matches
Mail list logo