OmniIntegrationProcedure
Represents an Omnistudio Integration Procedure for the Discovery Framework. It enables declarative, server-side processing to perform multiple actions in a single server call, supporting sales, service, and other business workflows. For Discovery Framework, the customization type is discoveryframework.
This type extends the Metadata metadata type and inherits its fullName field.
OmniIntegrationProcedure components have the suffix .omniIntegrationProcedure and are stored in the omnistudio/<Namespace>/omniIntegrationProcedures folder.
OmniIntegrationProcedure components are available in API version 56.0 and later.
To use this metadata type, you must have an Omnistudio license and the Discovery Framework feature enabled in your Salesforce org.
- Field Type: string
- Description: The angular Omniscript template definitions.
- Field Type: string
- Description: The custom JavaScript used for integration procedure.
- Field Type: string
- Description: The description of the integration procedure.
- Field Type: string
- Description: The Omnistudio designer customization type.
- Field Type: string
- Description: Overrides all elements of one type with a custom Lightning web component by mapping the element type to the Custom LWC.
- Field Type: string
- Description: The input for the integration procedure in JSON format.
- Field Type: string
- Description: The output for the integration procedure in JSON format.
- Field Type: boolean
- Description: Indicates whether the integration procedure is active (
true) or not (false). - Default value:
false
- Field Type: boolean
- Description: Indicates whether the integration procedure has a signature (
true) or not (false). - Default value:
false
- Field Type: boolean
- Description: Indicates whether Omniscript is an Integration Procedure (
true) or Omniscript metadata (false).
- Field Type: boolean
- Description: Indicates whether the integration procedure is managed using standard designer (
true) or not (false).
- Field Type: boolean
- Description: Indicates whether metadata cache for the integration procedure is disabled (
true) or not (false). - Default value:
false
- Field Type: boolean
- Description: Indicates whether the Omniscript can be embedded in other Omniscripts (
true) or not (false). - Default value:
false
- Field Type: boolean
- Description: Indicates whether OmniIntegrationProcedure is a test procedure setting (
true) or not (false). - Default value:
false
- Field Type: boolean
- Description: Indicates whether web component Omniscript (not Angular) is enabled (
true) or not (false). - Default value:
false
-
Field Type: string
-
Description: Required.
The language of the integration procedure.
- Field Type: string
- Description: The last page previewed in the Omniscript designer.
-
Field Type: string
-
Description: Required.
The name of the integration procedure.
- Field Type: string
- Description: The namespace associated with the integration procedure record.
- Field Type: OmniProcessElement[]
- Description: The OmniProcessElements associated with the OmniIntegrationProcedure.
- Field Type: string
- Description: The integration procedure
Type_SubTypevalue.
-
Field Type: OmniProcessType (enumeration of type string)
-
Description: Required. Integration Procedure or Omniscript.
-
Possible values:
Integration Procedure
- Field Type: string
- Description: Reserved for future use.
- Field Type: string
- Description: The configuration information associated with the OmniIntegrationProcedure.
- Field Type: string
- Description: The required permissions to execute the integration procedure.
- Field Type: string
- Description: Response cache used for the integration procedure (session or Org).
-
Field Type: string
-
Description: Required.
The subtype value that’s used with type and language to create a unique identifier for integration procedure. Integration Procedure subtype can contain only alphanumeric characters.
-
Field Type: string
-
Description: Required.
The type value that’s used with subtype and language to create a unique identifier for integration procedure. Integration Procedure type can contain only alphanumeric characters.
-
Field Type: string
-
Description: Required.
The unique name for the integration procedure as Type_SubType_Language_VersionNumber.
-
Field Type: string
-
Description: Required.
A numeric version that’s used with subtype, type, and language to create a unique identifier for integration procedure.
- Field Type: string
- Description: Internal unique key for the generated Lightning Web Components (LWC).
Represents the Omnistudio Process Element associated with the Omnistudio Integration Procedure.
- Field Type: OmniProcessElement[]
- Description: The child elements associated with the OmniProcessElement.
- Field Type: string
- Description: The description of the OmniProcessElement.
- Field Type: string
- Description: The Omnistudio designer customization type.
- Field Type: string
- Description: The usage type for industries that use the Discovery Framework. For example, the value for Health Cloud is
HcUsageType. The value for no specific industry isDefault.
- Field Type: string
- Description: The ID of the embedded Omniscript.
- Field Type: boolean
- Description: Indicates whether the status of the OmniProcessElement is active (
true) or not (false).
- Field Type: boolean
- Description: Indicates whether the Omniscript with the OmniProcessElement can be embedded in other Omniscript (
true) or not (false).
- Field Type: double
- Description: The vertical level in which the OmniProcessElement occurs on the Omniscript.
-
Field Type: string
-
Description: Required.
The name of the OmniProcessElement.
- Field Type: double
- Description: The version number of Omnistudio process element.
- Field Type: string
- Description: The name of the parent OmniProcessElement.
- Field Type: string
- Description: The type of the parent OmniProcessElement.
- Field Type: textarea
- Description: The property set of the OmniProcessElement.
- Field Type: double
- Description: The horizontal level in which the OmniProcessElement occurs on the Omniscript.
- Field Type: string
- Description: The OmniProcessElement type. For example,
TextandTextArea.
- Field Type: string
- Description: A unique index number for the Omniscript.
The following is an example of an OmniIntegrationProcedure component.
The following is an example package.xml that references the previous definition.
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.
Before you retrieve or deploy Discovery Framework OmniScripts, we recommend that you review this consideration.
- When deploying the OmniIntegrationProcedure of type Discovery Framework, enable Discovery Framework Metadata Enabled setting.