Currently, the worker serializes plan parameters and includes them in WorkerEvents, which it publishes to the message bus.
This can present problems if the parameters are of complex types e.g. devices.
Two options that I can think of:
- Exclude plan parameters from events
- Find some way to have default serializes, if an object has a
name, use that, otherwise serialize to "UNKNOWN" or similar
Currently, the worker serializes plan parameters and includes them in
WorkerEvents, which it publishes to the message bus.This can present problems if the parameters are of complex types e.g. devices.
Two options that I can think of:
name, use that, otherwise serialize to"UNKNOWN"or similar