CSC Apex API Developer Reference

csc.CreatePlaybookFromTemplateRequest

global with sharing class CreatePlaybookFromTemplateRequest extends CreatePlaybookRequest

The request object which is passed to the service in order to create a new playbook from a template.

Methods

CreatePlaybookFromTemplateRequest

global CreatePlaybookFromTemplateRequest(Id templateId)

A constructor method to create a request.

Input Parameters

Name Type Description
templateId Id ID of the playbook template to be cloned.

CreatePlaybookFromTemplateRequest

global CreatePlaybookFromTemplateRequest(Id templateId, Map<SObjectField, Object> fieldsToPopulate)

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.

CreatePlaybookFromTemplateRequest

global CreatePlaybookFromTemplateRequest(Id templateId, Map<SObjectField, Object> fieldsToPopulate, Map<SObjectType, Set<Id>> relatedRecordsIdMap)

A constructor method to create a request.

Input Parameters

Name Type Description
templateId Id ID of an existing playbook template to be cloned.
fieldsToPopulate Map<SObjectField, Object> 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.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.