---
schema_version: "1"
id: 63d5fe248179ef35de4cea69c13ba5a38797b9820aae0871806863e0d30c3e0c
title: ActionableEventOrchDef
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/automotive_cloud/auto_metadata_api_actionableeventorchdef.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.automotive_cloud.meta/automotive_cloud/auto_metadata_api_actionableeventorchdef.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1d099206d03dd45acf8678448b6246532a88777f66fd7e2a9d591f15dcd8ec49
description: Represents the definition of an actionable event orchestration so that the records can be migrated from one org to another.
---
# ActionableEventOrchDef

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

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm "HTML (New Window)") metadata type and inherits its fullName field.

## File Suffix and Directory Location

ActionableEventOrchDef components have the suffix .actionableEventOrchDef and are stored in the ActionableEventOrchDef folder.

## Version

ActionableEventOrchDef components are available in API version 64.0 and later.

## Fields

### actionableEventUsageType

- **Field Type**: string
- **Description**: The usage type of the actionable event orchestration definition.
- **Possible values**:
    - Automotive—1
    - Manufacturing—2
    - Standard—3

### apiName

- **Field Type**: string
- **Description**: Required. The API name of the actionable event orchestration definition record.

### contextDefinitionDeveloperName

- **Field Type**: string
- **Description**: The developer name of a context definition that's associated with the actionable event orchestration definition.

### contextMappingTitle

- **Field Type**: string
- **Description**: The title of a context mapping that's associated with the actionable event orchestration definition.

### eventCategory

- **Field Type**: string
- **Description**: The category of an actionable event orchestration definition.

### eventSubtypeApiName

- **Field Type**: string
- **Description**: The API name of an actionable event orchestration definition subtype.

### eventTypeApiName

- **Field Type**: string
- **Description**: Required. The API name of an actionable event orchestration definition type.

### executionProcedureAPIName

- **Field Type**: string
- **Description**: The API name of the flow definition or the expression set template that executes the orchestration.

### executionProcedureType

- **Field Type**: string
- **Description**: Specifies the type of automated procedure that executes the orchestration.
- **Possible values**:
    - ExpressionSetBasedOrchestration—1
    - FlowBasedOrchestration—2

### isActive

- **Field Type**: boolean
- **Description**: Required. Specifies if an actionable event orchestration definition record is active (true) or not (false).
- **Default value**: false

### isTemplate

- **Field Type**: boolean
- **Description**: Required. Indicates whether the actionable event orchestration definition is a template (true) or not (false).
- **Default value**: false

### label

- **Field Type**: string
- **Description**: Required. The label of the actionable event orchestration definition record.

## Declarative Metadata Sample Definition

The following is an example of an ActionableEventOrchDef component.

<?xml version="1.0" encoding="UTF-8"?>
<ActionableEventOrchDef xmlns="http://soap.sforce.com/2006/04/metadata">
    <actionableEventUsageType\>1</actionableEventUsageType\>
    <apiName\>Create\_Asset\_Registration</apiName\>
    <contextDefinitionDeveloperName\>AssetRegistrationCreateRecordDetails\_stdctx</contextDefinitionDeveloperName\>
    <contextMappingTitle\>VehicleFaultEventDetailMapping</contextMappingTitle\>
    <eventSubtypeApiName\>Create\_Registration\_Records\_SubType</eventSubtypeApiName\>
    <eventTypeApiName\>Create\_Registration\_Records</eventTypeApiName\>
    <executionProcedureAPIName\>CreateAssetFlow</executionProcedureAPIName\>
    <executionProcedureType\>2</executionProcedureType\>
    <isActive\>true</isActive\>
    <label\>Create Asset Registration</label\>
</ActionableEventOrchDef\>

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

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>\*</members\>
        <name\>ActionableEventOrchDef</name\>
    </types\>
<version\>64.0</version\>
</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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm "HTML (New Window)").