rmoskal wrote : 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
As Joram said you can use spring beans as the class behind a custom or decision
node, in which case it implements the respective interface and is passed the
execution in the call. Does this answer the question?
eg.
View the original post :
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/
|
anonymous wrote : I'm curious as to what else can be passed to the java object.
Like I'd like to get a copy of the actual Execution.
Afaik, there is no easy way to just inject the actual executions, since
* There are potentially many many executions active
* Spring injects dependencies when the
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