BusinessProcessGroup

Represents the surveys used to track customers’ experiences across different stages in their lifecycle.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

BusinessProcessGroup components have the suffix .businessProcessGroup and are stored in the businessProcessGroups folder.

Version 

Introduced in API version 49.0.

Special Access Rules 

This metadata type is available in orgs with Surveys enabled with the Customer Lifecycle Designer license.

Fields 

businessProcessDefinitions 

customerSatisfactionMetric 

  • Type: SurveyQuestionType (enumeration of type string)
  • Required: Yes
  • Description: Required. Types of questions that can be associated with stages in a customer lifecycle map.
  • Possible values:
    • Attachment
    • Boolean
    • CSAT
    • Currency
    • Date
    • DateTime
    • FreeText
    • Image
    • NPS
    • Matrix
    • MultiChoice
    • MultiSelectPicklist
    • Number
    • Picklist
    • Rating
    • ShortText
    • Slider
    • StackRank
    • Toggle

description 

  • Type: string
  • Required: No
  • Description: A description of the customer lifecycle map.

masterLabel 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the customer lifecycle map.

BusinessProcessDefinition Type 

Fields 

businessProcessFeedbacks 

description 

  • Type: string
  • Required: No
  • Description: A description of a stage in the customer lifecycle map.

developerName 

  • Type: string

  • Required: Yes

  • Description: Required. The API name of a stage in the customer lifecycle map.

    Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.

masterLabel 

  • Type: string
  • Required: Yes
  • Description: Required. The name of a stage in the customer lifecycle map.

sequenceNumber 

  • Type: int
  • Required: Yes
  • Description: Required. The position of a stage in the customer lifecycle map.

BusinessProcessFeedback Type 

Fields 

actionName 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the survey used to collect feedback

actionParam 

  • Type: string
  • Required: Yes
  • Description: Required. The name of the survey question used to collect feedback.

actionType 

  • Type: ExpFeedbackCollType (enumeration of type string)
  • Required: Yes
  • Description: Required. The mode of feedback collection.
  • Possible values:
    • PHONE_CALL
    • SURVEY

Declarative Metadata Sample Definition 

The following is an example of a BusinessProcessGroup component.

1<?xml version="1.0" encoding="UTF-8"?>
2<BusinessProcessGroup xmlns="http://soap.sforce.com/2006/04/metadata">
3    <businessProcessDefinitions>
4        <developerName>Customer_Onboarding</developerName>
5        <masterLabel>Customer Onboarding</masterLabel>
6        <description>A stage in a customer's lifecycle.</description>
7        <sequenceNumber>0</sequenceNumber>
8        <businessProcessFeedbacks>
9            <actionType>Survey</actionType>
10            <actionName>New Customer CSAT</actionName>
11            <actionParam>How would you rate our service?</actionParam>
12        </businessProcessFeedbacks>
13    </businessProcessDefinitions>
14    <customerSatisfactionMetric>NPS</customerSatisfactionMetric>
15    <masterLabel>Customer Lifecycle</masterLabel>
16    <description>This map tracks the feedback provided by customers' at different stages during their lifecycle.</description>
17</BusinessProcessGroup>

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>policyholder</members>
5        <name>BusinessProcessGroup</name>
6    </types>
7    <version>49.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.