0

I have a custom module that is receiving data from an external API. I need to save some of that data into a record and return a success response, so far all is good.

Along side this I want to set up an event listener for any new records being created in that table, process that new records information and post that off somewhere else.

How do I go about creating an event listener for this, I have been playing around with the events and created a custom one I can call but I can only manage this from the first process which defeats the purpose of my event.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.