How to know how ECAS AND SECAS are getting triggered

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to know how ECAS AND SECAS are getting triggered

Deepika1234
If i am calling a service updateperson or some other services in services.xml , in log i can see that it's calling  sync or async other services , which services when i searched i got in secas.xml or eecas.xml. In log  i could see updateperson is triggering the ECA or SECA service.
I couldn't find any flow in the xml level to how this ECA sevice is getting invoked. Can anyone please help me understanding how these ECA or SECA services are getting invoked without any workflow in the code.
Please suggest is it possible to know in code level which ECA service will be triggered when a particular service is called.

PLEASE HELP ME
Reply | Threaded
Open this post in threaded view
|

Re: How to know how ECAS AND SECAS are getting triggered

Laith
Hello Deepika1234,
i'm some like newbie to ofbiz framework too, but what i understand is triggered either by a service, or an entity.
What I mean is, the eecas will execute when any operation (CRUD) happen use this entity, and the secas it will execute whenever the service called. When a service is called, a look up is performed to see if there is an ecas defined for this event.
I hope it's some like clear.
Best Regards.