Yes.  I believe that is their purpose.  The difference between the two, I
imagine, is what you are monitoring.  1.  You could use an EECA to monitor
an entity like OrderStatus and hook into the update event and do some logic
on event to determine if you want to do something or not.  You might use
this to trigger some action.

2.  You could use a SECA to monitor a service like updateOrderStatus and do
something similar.  You might use this to intercept and alter the service
call, or trigger some action as above.  

I do not know what the recommended practice within OFBIZ is.  But a quick
glance over the stock applications suggests that SECAs are more common than
ECAs.

Brad



Adrian Crum wrote:
> 
> Can I use EECAs or SECAs to monitor an entity and trigger an action if 
> the contents of a field changed? I need a way to track status changes.
> 
> -Adrian
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Question-about-ECAs-tp18623482p18624592.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to