Represents a process created in Service Process Studio and its
associated attributes.
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
ServiceProcess components have the suffix .serviceprocess and are stored
in the .serviceprocess folder.
Version
ServiceProcess components are available in API version 57.0 and later.
Special Access Rules
Access to the ServiceProcess type requires the AccessToServiceProcess
permission.
Fields
| description |
- Field Type
- string
- Description
- A meaningful explanation of the service process.
|
| processLabel |
- Field Type
- string
- Description
-
Required.
A meaningful name for the service process.
|
| serviceProcessAttributes |
- Field Type
- ServiceProcessAttribute[]
- Description
- Custom attributes that store the data associated with the service process.
|
| serviceProcessDependencies |
- Field Type
- ServiceProcessDependency[]
- Description
- Dependent components of the service process, such as OmniScripts or flows.
|
| serviceProcessItemGroups |
- Field Type
- ServiceProcessItemGroup[]
- Description
- Groups of related ServiceProcessAttribute records.
|
| shortDescription |
- Field Type
- string
- Description
- A brief meaningful explanation of the service process.
|
| usageType |
- Field Type
- SvcCatalogItemUsageType
(enumeration of type string)
- Description
-
Required.
The Cloud that uses this service process.
Values are:
- CustomerService
- Employee
- FinancialServices
- Industry (available in version 58.0 and later)
|
ServiceProcessAttribute
A custom attribute that stores data associated with a service process. For example, a service
process that reverses a fee can have a Fee Type attribute.
| attributeType |
- Field Type
- SvcCtlgItemAttrAttributeType
(enumeration of type string)
- Description
- A Base attribute corresponds to a SvcCatalogRequest
field, which is subject to field-level security. An
Extended
attribute is only a ServiceProcessAttribute object
record, which isn't subject to field-level
security.
Values are:
The default is Extended.
|
| dataType |
- Field Type
- SvcCatalogItemAttrDataType
(enumeration of type string)
- Description
- The data type of the attribute.
Values are:
- Checkbox
- Currency
- Date
- Datetime
- Integer
- ListOfBoolean
- ListOfDouble
- ListOfInteger
- ListOfMaps
- ListOfString
- Map
- Number
- Percentage
- Text
The default is Text.
Selecting Currency doesn't
cause an error, but currency conversions aren't
supported.
|
| description |
- Field Type
- string
- Description
- A meaningful explanation of the attribute.
|
| developerName |
- Field Type
- string
- Description
-
Required.
A system name for the attribute.
|
| fieldIdentifier |
- Field Type
- string
- Description
- For a Base attribute, the Developer Name of the
SvcCatalogRequest field. This field can be standard or
custom.
|
| groupApiName |
- Field Type
- string
- Description
- The apiName of the ServiceProcessItemGroup to which this attribute
belongs.
|
| inputVariableValue |
- Field Type
- string
- Description
- The default value of the attribute.
|
| isRequired |
- Field Type
- boolean
- Description
- Specifies whether the attribute is required. The default is false.
|
| label |
- Field Type
- string
- Description
-
Required.
A meaningful name for the attribute.
|
| parentAttribute |
- Field Type
- string
- Description
- The parent attribute of this attribute. For example, a Latitude attribute can have
GeoLocation as a parent.
|
| sortOrder |
- Field Type
- int
- Description
- The position of the attribute in the payload relative to other attributes having no
parent or the same parent.
|
ServiceProcessDependency
A dependent component of the service process, which can be a flow, an OmniScript, an
Integration Definition, or a preprocessor Apex class.
| dependencyReference |
- Field Type
- string
- Description
-
Required.
The Developer Name of the flow, OmniScript, Integration Definition, or
preprocessor Apex class.
|
| type |
- Field Type
- SvcCatalogItemDependencyType
(enumeration of type string)
- Description
-
Required.
The type of dependent component.Values are:
- FlowDefinition
- IntegrationProviderDef
- OmniScriptConfig
- PreprocessorApexClass
|
ServiceProcessItemGroup
A group of related ServiceProcessAttribute records.
| apiName |
- Field Type
- string
- Description
-
Required.
The API Name of the group.
|
| groupName |
- Field Type
- string
- Description
-
Required.
The name of the group.
|
| sortOrder |
- Field Type
- int
- Description
-
Required.
The group display order.
|
Declarative Metadata Sample Definition
The following is an example of a ServiceProcess component.
The following is an example package.xml that
references the previous definition.
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.