0 Replies Latest reply on Feb 24, 2006 4:14 AM by Maksimenko Alexander

    async nodes example

    Maksimenko Alexander Newbie

      Hi All!
      I got stuck with async feature - user manual does not get any example and I all my tries to continue processing in another thread was failed. This process always is processed in main thread :

       <start-state name="start">
       <transition name="default" to="first" />
       </start-state>
       <state name="first" async="true">
       <event type="node-enter">
       <script name="first-node-enter-script">
       <expression>
       java.lang.System.out.println("IN THE FIRST STATE");
       java.lang.System.out.println(java.lang.Thread.currentThread().name);
       </expression>
       </script>
       </event>
       <transition name="default" to="end" />
       </state>
       <end-state name="end">
       </end-state>
      



      Can somebody get me some simple example of process with async=true nodes?