TelemetryActnDefStepAttr

Represents the attributes of a telemetry action definition step.

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

TelemetryActnDefStepAttr components have the suffix .TelemetryActnDefStepAttr and are stored in the TelemetryActnDefStepAttrs folder.

Version

TelemetryActnDefStepAttr components are available in API version 65.0 and later.

Fields

allowedValues

  • Field Type: string
  • Description: The allowed values for the telemetry action definition step attribute.

attributeName

  • Field Type: string
  • Description: Required. The name of the telemetry action definition step attribute.

dataType

  • Field Type: TelActnDefStepAttrDataType (enumeration of type string)
  • Description: Required. The data type of the telemetry action definition step attribute.

    Values are:

    • Boolean
    • Double
    • Float
    • Int16
    • Int32
    • Int8
    • Integer
    • String
    • Uint16
    • Uint32
    • Uint64
    • Uint8

description

  • Field Type: string
  • Description: The description of the telemetry action definition step attribute.

developerName

  • Field Type: string
  • Description: The developer’s internal name for the API.

    For example, if you create a record with MyCustomRecord name, you cannot create another record with that same name.

isProtected

  • Field Type: boolean
  • Description: An auto-generated value that doesn’t impact the behavior of the metadata type.
  • Default value: false

masterLabel

  • Field Type: string
  • Description: Required. A user-friendly name for TelemetryActnDefStepAttr, which is defined when the TelemetryActnDefStepAttr is created.

maximumValue

  • Field Type: double
  • Description: The maximum value allowed for the telemetry action definition step attribute.

minimumValue

  • Field Type: double
  • Description: The minimum value allowed for the telemetry action definition step attribute.

telemetryActnDefStep

  • Field Type: string
  • Description: Required. The telemetry action definition step that this attribute belongs to.

type

  • Field Type: TelemetryActnDefStepAttrType (enumeration of type string)
  • Description: Required. The type of the telemetry action definition step attribute.

    Values are:

    • Actuator
    • Sensor

unitOfMeasure

  • Field Type: string
  • Description: The unit of measure of the telemetry action definition step attribute.

Declarative Metadata Sample Definition

The following is an example of a TelemetryActnDefStepAttr component.

1<?xml version="1.0" encoding="UTF-8"?>
2<TelemetryActnDefStepAttr xmlns="http://soap.sforce.com/2006/04/metadata">
3    <allowedValues>INACTIVE,CLOSE,OPEN</allowedValues>
4    <attributeName>Position</attributeName>
5    <dataType>int8</dataType>
6    <description>sliding action such as window.</description>
7    <developerName>HoodStatusControl_HoodPositionStep_Position</developerName>
8    <isProtected>false</isProtected>
9    <masterLabel>Hood Position Control</masterLabel>
10    <telemetryActnDefStep>HoodStatusControl_HoodPositionStep</telemetryActnDefStep>
11    <type>Actuator</type>
12    <unitOfMeasure>Action</unitOfMeasure>
13</TelemetryActnDefStepAttr>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>*</members>
5        <name>TelemetryActnDefStepAttr</name>
6    </types>
7    <version>65.0</version>
8</Package>