invokeAction

Allows custom components to save or submit the quick action on a record page.

Arguments 

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:

1actionName: "Case.UpdateCase"

Response 

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