Set of additional options to use in create playbook from template process. COPY_CS_SKILLS_FROM_PLAYBOOK: Value to indicate whether cs skills need to be copied from playbook or not.
global CreatePlaybookFromTemplateRequest(Id templateId)
A constructor method to create a request. Requests constructed with just a template ID will clone the template in its entirety, with the exception of the following fields: csc__Objective__c, csc__Playbook_Owner__c, and csc__Stage__c. User-generated custom fields are also not cloned.
global CreatePlaybookFromTemplateRequest(Id templateId, Set<CreatePlaybookFromTemplateRequest.Options> options)
A constructor method to create a request. Requests constructed with just a template ID will clone the template in its entirety, with the exception of the following fields: csc__Objective__c, csc__Playbook_Owner__c, and csc__Stage__c. User-generated custom fields are also not cloned.
Input Parameters
Name
Type
Description
templateId
Id
ID of the playbook template to be cloned.
options
Set<CreatePlaybookFromTemplateRequest.Options>
Set of additional options to use in create playbook from template process. Eg: COPY_CS_SKILLS_FROM_PLAYBOOK: Value to indicate whether cs skills need to be copied from playbook or not.
global CreatePlaybookFromTemplateRequest(Id templateId, Map<SObjectField, Object> fieldsToPopulate, Set<CreatePlaybookFromTemplateRequest.Options> options)
A constructor method to create a request.
Input Parameters
Name
Type
Description
templateId
Id
ID of the playbook template to be cloned.
fieldsToPopulate
Map<SObjectField, Object>
Key-value pairs denoting initial field values for the resulting playbook.
options
Set<CreatePlaybookFromTemplateRequest.Options>
Set of additional options to use in create playbook from template process. Eg: COPY_CS_SKILLS_FROM_PLAYBOOK: Value to indicate whether cs skills need to be copied from playbook or not.
Key-value pairs denoting initial field values for the resulting playbook.
relatedRecordsIdMap
Map<SObjectType, Set<Id>>
Key-value pairs denoting selected Ids of related SObjects for cloning.
options
Set<CreatePlaybookFromTemplateRequest.Options>
Set of additional options to use in create playbook from template process. Eg: COPY_CS_SKILLS_FROM_PLAYBOOK: Value to indicate whether cs skills need to be copied from playbook or not.