Calling RunEvent from an AOP Aspect

Hello all!
I am currently working with ColdBox 5.6.1. Is it possible to call the runEvent method from an AOP aspect? I have built an AOP aspect that is bound to an ORM object each time it saves. I would like to run an event from a handler to render the content into a PDF.

However, I am uncertain about how to call the runEvent method from my AOP aspect. Is this possible? I thought I could access it from arguments.invocation but I get errors.

If you just want to run a random event, I’d assume you could do it via the controller.

controller.runEvent( ‘handler.action’ )

You may need to inject the controller to have access to it.

Thanks Brad! That fixed my problem.