Closed apinder closed 6 years ago
A COM Event is an extension to a COM Object.
Does that help?
That clarifies what I thought yes, however there's still a problem (or my misunderstanding :) )
So the COM Event to link to is:
<com:event name="LoginEvent" number="3">
<com:relatedObject>
<com:objectType number="2" service="Login" area="Common"/>
</com:relatedObject>
</com:event>
The problem is that unlike the LoginInstance
COM object it doesn't have a <com:objectType>
so to construct a reference to the login event for the logout event there's no way of creating it programatically.
Alternatively we could save the login COM Event to the archive and then read it back (if possible) although I'm not sure how that works when there's no <com:objectType>
.
Clarified offline
The requirement in question is:
With regard to COM Events there is no explicit event object that we can use to point to. We could use the ObjectDetails passed inside the event but that will contain the LoginInstance ID which is already available as the related part of the event