Hi everyone,
I’m using a generic inquiry to trigger a business event. The business event then has a custom data provider as a subscriber to send data to a remote API.
Whilst this is mostly working, I’m trying to use the GI field “Captions” to provide a known name for columns that may have a function attached (or if the user wants to customise the column names).
At the moment in the EventAction’s Process(MatchedRow[] eventRows, CancellationToken cancellation) method, Captions aren’t pulled through from the GI, only the original field names or randomly generated names for the columns containing functions.
I’d like to be able to get hold of the GI that triggered the business event so I can retrieve the caption names for some of the fields.
Is there a way to get a reference to the triggering object (in this case a GI) within the “Process” method or elsewhere?
Many thanks