It works:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
name="process6">
|
| <start-state name="start-state1">
| <transition to="tsmactoncr"></transition>
| </start-state>
|
| <state name="tsmactoncr" async="true">
| <timer name="timer" duedate="7 seconds" transition="to
escalated">
| <script>
| System.out.println("escalatedr---::"+node.getName());
| </script>
| </timer>
| <transition to="normailflow" name="to normal
flow"></transition>
| <transition to="escalationflow" name="to
escalated"></transition>
| </state>
|
| <state name="normailflow">
| <event type="node-enter">
| <script>
| System.out.println("Node-enter: normailflow");
| </script>
| </event>
| <transition to="end-state1"></transition>
| </state>
|
| <state name="escalationflow">
| <event type="node-enter">
| <script>
| System.out.println("Node-enter: escalationflow");
| </script>
| </event>
| <transition to="end-state1"></transition>
| </state>
|
| <end-state name="end-state1"></end-state>
|
| </process-definition>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218680#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...