Class: LVPublishAction

LiveView.AlertRule. LVPublishAction

new LiveView.AlertRule.LVPublishAction(settings)

Action that will send a tuple to a LiveView server.
Name Type Description
settings Object optional An object containing initial values for the new LVPublishAction instance.
Name Type 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}).
lvUri String optional The LiveView URI destination for the tuple.
inputStream String optional The name of the table where the tuple will be sent.

Extends

Members

fieldSubstitutionsObject

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}).

sbUriString

The LiveView URI destination for the tuple.

tableNameString

The name of the table where the tuple will be sent.

fieldSubstitutionsObject

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}).

sbUriString

The LiveView URI destination for the tuple.

tableNameString

The name of the table where the tuple will be sent.

enabledboolean

Flag indicating whether or not the Action is enabled (i.e. currently being used to determine whether or not to fire alerts).

LiveView.AlertRule. LVPublishAction

new LiveView.AlertRule.LVPublishAction(settings)

Action that will send a tuple to a LiveView server.
Name Type Description
settings Object optional An object containing initial values for the new LVPublishAction instance.
Name Type 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}).
lvUri String optional The LiveView URI destination for the tuple.
inputStream String optional The name of the table where the tuple will be sent.

Extends

Members

fieldSubstitutionsObject

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}).

sbUriString

The LiveView URI destination for the tuple.

tableNameString

The name of the table where the tuple will be sent.

fieldSubstitutionsObject

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}).

sbUriString

The LiveView URI destination for the tuple.

tableNameString

The name of the table where the tuple will be sent.

enabledboolean

Flag indicating whether or not the Action is enabled (i.e. currently being used to determine whether or not to fire alerts).