$.eventwith the current state of the projection by targeting the full projection state using the JsonPath selector
$.event(the current event being handled) and
$.projection(the current projection state).
$.metadatastruct containing the fields
rawDataargument instead of the
eventSelector. You can then provide any JSON value which will be used as-is.
[?]in the selector text, as described in the JsonPath documentation. The filter for the selector is then applied for the given function. This is useful for matching on ids in nested lists or to apply conditional logic for when/how to process events.