# Class: SendTupleAction

## LiveView.AlertRule. SendTupleAction

#### new LiveView.AlertRule.SendTupleAction(settings)

  Action that will send a tuple to a StreamBase server.

  Name | Type | Description
  --- | --- | ---
  `settings` | Object | optional An object containing initial values for the new SendTupleAction 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}).
  `sbUri` | String | optional The StreamBase URI destination for the tuple.
  `inputStream` | String | optional The name of the stream to send the tuple to.

### Extends

- LiveView.AlertRule.Action

### 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 StreamBase URI destination for the tuple.

#### inputStreamString

  The name of the stream to send the tuple to.

#### enabledboolean

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