Newer Version Available

This content describes an older version of this product. View Latest

InvocableActionSettings

Represents the org’s invocable action settings, such as whether partial save is allowed.This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

InvocableActionSettings values are stored in the InvocableAction.settings file in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

Version

InvocableActionSettings components are available in API version 47.0 and later.

Fields

Field Name Field Type Description
isPartialSaveAllowed boolean Indicates whether partial save is enabled for most invocable actions that are invoked via REST API and executed in bulk. When the value is true, Salesforce tries three times to execute invocable actions that run successfully and rolls back only the invocable actions that fail to execute. This functionality is called partial save. If the field is set to false, if one invocable action fails, Salesforce rolls back other invocable actions in the same transaction and the entire transaction fails.

Corresponds to the Enable Partial Save for Invocable Actions critical update.

Declarative Metadata Sample Definition

The following is an example of the InvocableAction.settings file.

1<?xml version="1.0" encoding="UTF-8"?>
2<InvocableActionSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3    <isPartialSaveAllowed>false</isPartialSaveAllowed>
4</InvocableActionSettings>
No content provided

Example Package Manifest

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>InvocableAction</members>
5		<name>Settings</name>
6	</types>
7	<version>47.0</version>
8</Package>

Wildcard Support in the Manifest File

The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.