Skip to main content

Interface: ILabel

v1.EventGroupMarker.ILabel

Properties of a Label.

Implemented by

Properties

id

Optional id: null | string

Opaque identifier assigned by the SDK.


label

Optional label: null | IPayload

This payload should be a "json/plain"-encoded payload that is a single JSON string for use in user interfaces. User interface formatting may not apply to this text when used in "label" situations. The payload data section is limited to 400 bytes by default.

Payload only needs to be set on the first use of a given Marker ID; further references to an existing Marker ID reuse existing attributes of the referenced Marker -- i.e. further label payloads are ignored.

Note that it is valid to have distinct Markers (i.e. distinct Marker IDs) in a given workflow execution that carry the same label, provided that they have the distinct ID.