When I create a process instance programmatically and create a start-task instance, and probe if the stat-task instance is signalling it comes out to be false. Also, even if I set it to true, and query the taskInstance, it still says false.
However, as soon as I end this task, the process moves on forward to the next node, which shows that the start-task was signalling. What am I missing here? Thanks, Kazam | TaskInstance taskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance(); | taskInstance.setSignalling(true); | /*Get startTaskInstance information*/ | System.out.println("TaskInstance isOpen "+taskInstance.isOpen()+" isSignalling "+ | taskInstance.isSignalling()+" isBlocking "+taskInstance.isBlocking() | +" isStartTaskInstance "+taskInstance.isStartTaskInstance()+" isLast " | +taskInstance.isLast()+" isCancelled "+ taskInstance.isCancelled()); | | <process-definition | xmlns="urn:jbpm.org:jpdl-3.1" name="genericRequest"> | | <start-state name="create generic request"> | <task name="create timeoff request"> | <assignment class="org.jbpm.genericRequest.MyAssignmentHandler" /> | <controller> | <variable name="employeeName"></variable> | <variable name="startDate"></variable> | <variable name="endDate"></variable> | </controller> | </task> | <transition to="evaluate request" /> | </start-state> | <task-node name="evaluate request"> | <task > | <assignment class="org.jbpm.genericRequest.MyAssignmentHandler"/> | <timer name="escalate" duedate="5 seconds" repeat="5 seconds"> | <action class="org.jbpm.genericRequest.RemindActor"> | </action> | </timer> | <controller> | <variable name="status" /> | <variable name="comment"/> | </controller> | </task> | <transition name="ok" to="accept" /> | <transition name="no" to="reject" /> | </task-node> | <node name="accept"> | <action class="org.jbpm.genericRequest.NotifyEmployee"> | </action> | <transition to="end" /> | </node> | <node name="reject"> | <action class="org.jbpm.genericRequest.NotifyEmployee"> | </action> | <transition to="end" /> | </node> | <end-state name="end" /> | </process-definition> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955130#3955130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955130 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user