...
Code Block | ||
---|---|---|
| ||
"LbApiPayloadTemplate": { "{EventCategory1}": { "action": "import (default) | ignore", "label": "human readable note", "importProcessId": {WIQ Process Id}, "batchRowTemplate": "{handlebars template}" }, // ... additional category mappings as needed ... "*_default": { "action": "import (default) | ignore", "label": "human readable note", "importProcessId": {WIQ Process Id}, "batchRowTemplate": "{handlebars template}" } } |
Each key within the LbApiPayloadTemplate
should match one of the Publisher’s PublisherEventCategory
values, or the special marker “*_default
” which indicates a default template.
...
Example / scenario | Sample | |||||
---|---|---|---|---|---|---|
Subscribe to all publisher event categories, using the same template for everything |
| |||||
Subscribe to all publisher event data, with special handling for a specific category |
| |||||
Subscribe to a specific category only, ignoring everything else |
| |||||
Ignore a specific category, process everything else using a common template |
|
Omitting the “*_default
” mapping has the same result as setting it to "action": "ignore"
, but it is recommended to explicitly include the default mapping to make the configuration easier to understand.
...