Hello,
I went to a session at the ONE conference on events in ODC by Rui Madaleno, and he talked about being able to consume events in the same application that fires them, but I can't seem to get it to work properly. When I open up public elements, the even just isn't there (it's set to public, and I can consume it from other applications).
https://one.outsystems.com/sessions/event-driven-architecture-with-odc
He talks about it at 07:10, then again at 18:58. I thought maybe something was wrong with my environment, so I went to create a ticket with Outsystems, and the AI response gave me this:
Does anybody know which is correct?
So I was able to figure it out, it was right under my nose. Events are consumed in the same application differently than in other applications. The "Handler" just needs to be specified in the event if you're consuming it in the same application as it's triggered. For other applications, you consume it as a public element.
Hello Mike.
The video is right. That specific subject was repeated in several OutSystems events in the last few months.
I reported the issue with the bot. By that answer, it seems to be out of context and thinking in other events.
Thank you so much for this info. However, I am not able to consume the event in my application. I have it public, triggered, and published, but it won't show up for me to consume. It does show up in other applications, but not in the application that triggers it?
Here is the event defined:
And this is when I try and consume it. As I said, if I do this in a different application it does appear: