anonymous wrote : Thanks for your response, but you have a cast too : Execution
into OpenExecution.
|
| Does someone know the diffrence between Execution, ExecutionImpl,
OpenExecution, ProcessInstance? I'm a bit confused with all these concepts.
I'm a bit new to JBPM, but I'll try to give
sorry
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4267970#4267970
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267970
___
jboss-user mailing list
jboss-user@lists.jboss.org
Instead of casting it to implementation class, you can try something like
Execution parentExecution=instance.findActiveExecutionIn(SubProcessParent);
| OpenExecution
subProcessExecution=((OpenExecution)parentExecution).getSubProcessInstance();
After that you can access state and signal it
Thanks for your response, but you have a cast too : Execution into
OpenExecution.
Does someone know the diffrence between Execution, ExecutionImpl,
OpenExecution, ProcessInstance? I'm a bit confused with all these concepts.
View the original post :
Hi
I have a state that has an event that is consumed until the flag reaches a
certain value. When you reach this value need to turn to another task. As I do
this, some examples in java
| state g=438,14,92,52 name=verificar repo
| on event=start
| timer duedate=1 minutes
@cmjhingeniero
What is the relation of your post with this topic?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4267868#4267868
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267868
Waaouu It works perfectly!! Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4267623#4267623
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267623
___
jboss-user mailing list
Something like this works for me:
ExecutionImpl tp = (ExecutionImpl)
executionService.findProcessInstanceById(topPop.getProcessExecutionId());
|
| ExecutionImpl subProc =
tp.findActiveExecutionIn(activityName).getSubProcessInstance();
|
|