=== Environment ==============================
- jBPM Version : jbpm 4.1 on WinXP
- Database : Mysql 5.1
- JDK : 1.5.0.11
- Container : Tomcat 6.0.20
- Configuration : importing files from the jbpm.jar
- Libraries : I had to replace el-jar from tomcat with juel* from jbpm
=== Process ==================================
< process name="StateSequence" xmlns="http://jbpm.org/4.0/jpdl"; >

  < start g="16,18,48,48" >
    < transition to="a" / >
  < /start >

  < state name="a" g="96,16,75,52" >
    < transition to="b" / >
    < transition to="c" / >
  < /state >
  
  < state name="b" g="203,16,73,52" >
    < transition to="c" / >
  < /state >
  
  < end name="c" g="308,16,76,52" / >

< /process >

=== Problem description =========================
How do I do to know programatically that state "a" has to two transitions: "b" 
and "c"?

because :
 Execution.getExecutions(): Only lists active executions
 Execution.findActiveActivityNames(): Only lists active activities

I need something like:
 Execution.listActivities(): List activities of current activity so I'd get 
transtion "b" and "c".

Thanks in advance.
 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261316#4261316

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261316
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to