Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
TelemetryActionDefinition
Parent Type
File Suffix and Directory Location
TelemetryActionDefinition components have the suffix .TelemetryActionDefinition and are stored in the TelemetryActionDefinitions folder.
Version
TelemetryActionDefinition components are available in API version 65.0 and later.
Fields
| Field Name | Description |
|---|---|
| actionName |
|
| description |
|
| developerName |
|
| executionProcedure |
|
| isActive |
|
| isProtected |
|
| masterLabel |
|
| telemetryDefinitionVersion |
|
Declarative Metadata Sample Definition
The following is an example of a TelemetryActionDefinition component.
1<?xml version="1.0" encoding="UTF-8"?>
2<TelemetryActionDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
3 <actionName>HoodStatusControl</actionName>
4 <description>Action to monitor and control vehicle hood open/close status and switch operations</description>
5 <developerName>HoodStatusControl</developerName>
6 <executionProcedure>HoodControlFlow</executionProcedureIdentifier>
7 <isActive>true</isActive>
8 <isProtected>false</isProtected>
9 <masterLabel>Hood Status Control</masterLabel>
10 <telemetryDefinitionVersion>VehicleBodyMonitoringv1</telemetryDefinitionVersion>
11</TelemetryActionDefinition>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>TelemetryActionDefinition</name>
6 </types>
7 <version>65.0</version>
8</Package>