Newer Version Available
performQuickActions()
Syntax
Usage
Use the performQuickActions() call to perform a specific quick action. Returns an array of PerformQuickActionResult objects.
Sample—Java
This sample uses a quick action to create a new contact.
Arguments
| Name | Type | Description |
|---|---|---|
| quickActions | PerformQuickActionRequest | The action request to perform. |
PerformQuickActionRequest
| Name | Type | Description |
|---|---|---|
| parentOrContextId | ID |
|
| quickActionName | string | The parent or context sObject and action name—for example, Opportunity.QuickCreateOpp. |
| records | SObject[] | The record to be created. Only one record can be saved at a time. |