Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  "eventKey": "string",
  "namespace": "string",
  "payload": {JSON},
  "origin": {JSON},
  "target": {JSON},
  "async": true|false,
  "headers": {
    "key": "value",
    ...
  }
}

...

The optional payload of the event as JSON object. The structure of this payload depends on the event type.

origin

The origin version of the payload in case the event changed the payload. For example if the event causes a property to change, the origin would contain the property BEFORE the change.

target

...

Info

Note: Every event also has the virtual properties origin and target whereas each in term point to the origin or target properties inside the payload (if there exists any). Virtual means, these properties are not serialized to JSON and can only be accessed by a pipeline expression (PE). This is handy for filters, since no null check for payload is necessary here.

So these paths point to the same whereas the left part will never raise a null exception:

  • origin = payload.origin

  • target = payload.target

async

true, in case this event was sent in asynchronous way. Otherwise false.

...