SendTupleAction

LiveView.AlertRule. SendTupleAction

new SendTupleAction(settingsopt)

Action that will send a tuple to a StreamBase server.
Parameters:
Name Type Attributes Description
settings Object <optional>
An object containing initial values for the new SendTupleAction instance.
Properties
Name Type Attributes Description
fieldSubstitutions Object <optional>
A map of field name to field value. Field values may refer to field values of the tuple that triggered this AlertRule or to properties of this AlertRule. Indicate tuple field values in the template by using the $ symbol. For example "Category"->"$category" would create a field called "Category" whose value is set to the category field value of the AlertRule-triggering tuple. The properties of this AlertRule may also be referenced in the message template. Fields: Name, Severity, Created, Owner, and ID may all be referenced by using ${AlertRule.fieldName} in the template string (e.g. ${AlertRule.Name}).
sbUri String <optional>
The StreamBase URI destination for the tuple.
inputStream String <optional>
The name of the stream to send the tuple to.

Extends

Members

enabled :boolean

Inherited From:
Flag indicating whether or not the Action is enabled (i.e. currently being used to determine whether or not to fire alerts).
Type:
  • boolean

fieldSubstitutions :Object

A map of field name to field value. Field values may refer to field values of the tuple that triggered this AlertRule or to properties of this AlertRule. Indicate tuple field values in the template by using the $ symbol. For example "Category"->"$category" would create a field called "Category" whose value is set to the category field value of the AlertRule-triggering tuple. The properties of this AlertRule may also be referenced in the message template. Fields: Name, Severity, Created, Owner, and ID may all be referenced by using ${AlertRule.fieldName} in the template string (e.g. ${AlertRule.Name}).
Type:
  • Object

inputStream :String

The name of the stream to send the tuple to.
Type:
  • String

sbUri :String

The StreamBase URI destination for the tuple.
Type:
  • String