ActionableEventTypeDef

Represents the definition of an actionable event type so that the records can be migrated from one org to another.

Parent Type 

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

File Suffix and Directory Location 

ActionableEventTypeDef components have the suffix .ActionableEventTypeDef and are stored in the ActionableEventTypeDef folder.

Version 

ActionableEventTypeDef components are available in API version 64.0 and later.

Fields 

apiName 

  • Field Type: string
  • Description: Required. The API name of an actionable event type definiton.

eventSubtypes 

  • Field Type: EventSubtype[]
  • Description: The subtype of an actionable event.

label 

  • Field Type: string
  • Description: Required. Label of the actionable event type definition.

EventSubtype 

Represents the subtype of an external or internal event that’s processed by the Actionable Event Orchestration framework to trigger different types of actions.

apiName 

  • Field Type: string
  • Description: Required. The API name of an actionable event subtype.

label 

  • Field Type: string
  • Description: Required. Label of the event subtype that represents a specific kind of external or internal actionable event.

Declarative Metadata Sample Definition 

The following is an example of an ActionableEventTypeDef component.

1<?xml version="1.0" encoding="UTF-8"?>
2<ActionableEventTypeDef xmlns="http://soap.sforce.com/2006/04/metadata">
3    <apiName>Create_Registration_Records</apiName>
4    <eventSubtypes>
5        <apiName>Create_Registration_Records_SubType</apiName>
6        <label>reate Registration Records Subtype</label>
7    </eventSubtypes>
8    <label>Create Registration Records</label>
9</ActionableEventTypeDef>

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>ActionableEventTypeDef</name>
6    </types>
7<version>64.0</version>
8</Package>

Wildcard Support in the Manifest File 

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.