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

2009-11-30 Thread neshap
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

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

2009-11-29 Thread cmjhingeniero
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

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

2009-11-27 Thread neshap
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

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

2009-11-27 Thread OlivierL
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 :

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

2009-11-27 Thread cmjhingeniero
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

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

2009-11-27 Thread kukeltje
@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

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

2009-11-26 Thread OlivierL
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

[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(); | |