getCustomAction

Allows custom components to access a custom quick action and pass data or messages to it.

NameTypeDescription
actionNamestringThe name of the quick action that you want to access.

The actionName parameter starts with the Salesforce object, followed by the quick action name. For example:

Returns a Promise. Success resolves to a response object. The Promise is rejected on error response.