New to jBPM and canoot understand within a simple test what is the difference 
between the before-signal and the node-enter as both reacts the same way.
Actually the after-signal is doing the same that before-signal as well.

The code snippet for the process is:


      
         
      
      
         
      
      
         
      
      
   

And the Test is:

ProcessInstance process = new ProcessInstance(definition);
                        
                        assertEquals("Process in start mode", 
process.getRootToken().getNode().getName(), "start");
                        
                        
                        process.signal();
                        
logger.info((String)process.getContextInstance().getVariable("devInfo2"));
                        assertEquals("Process in auction mode", 
process.getRootToken().getNode().getName(), "auction");
                        
                        
logger.info((String)process.getContextInstance().getVariable("devInfo"));
                        process.signal();
                        
logger.info((String)process.getContextInstance().getVariable("devInfo3"));


devInfo is null on this test whereas placed after the next signal(), it prints 
the right content.

Could someone explains me the execution model associated with the action types?

Thanks

Olivier

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

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

Reply via email to