Are events propagated from sub-processes to parent processes?
I have a sub-process where I want to detect certain events at the parent process level without interrupting the flow of the sub-process. I've tested this with a simple sub-process within a process state and the sub-process events don't seem to be propagated.
Also, I noticed that the parent process doesn't get set when a sub-process is created by a process state.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244510#4244510
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244510
I had seen that issue before. Actually the problem is that I haven't deployed the examples because I am using tomcat and not jboss(and I couldn't configure the jbpm examples to run on tomcat). I just ran the junit test cases in eclipse.
I have built a simple process and I want to manage the states/variables associated with the process instance through a web interface (the web project is to be deployed on tomcat and not jboss).
The task form example shows how to access the process variables in the ftl file and how to associate an ftl file with a task. But I need to know how to use this ftl file (associated with a task) to render on the UI when the process is executing that task.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244504#4244504
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244504
I do not get any exceptions if I modify my 'ApproveACLTimeOutActionHandler' by adding a call to taskInstance.end()
| public class ApproveACLTimeOutActionHandler implements ActionHandler {
|
| @Override
| public void execute(ExecutionContext executionContext) throws Exception {
| System.out.println("In ApproveACLTimeOutActionHandler");
| executionContext.getTaskInstance().end("TimedOut");
| }
|
| }
|
So, should I be ending the task in the timer action class?
If I remove the 'action' element altogether from inside the 'timer' element, then also I get the exception. Am I doing a mistake in writing my process definition?
Thanks,
Randy
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244490#4244490
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244490