Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
QuickActionResult Class
After you initiate a quick action with the QuickAction class, use the QuickActionResult class for processing action results.
Namespace
QuickActionResult Methods
The following are methods for QuickActionResult. All are instance methods.
getErrors()
If an error occurs, an array of one or more database error
objects, along with error codes and descriptions, is returned.
Signature
public List<Database.Error> getErrors()
Return Value
Type: List<Database.Error>
isCreated()
Returns true if
the action is created; otherwise, false.
Signature
public Boolean isCreated()
Return Value
Type: Boolean
isSuccess()
Returns true if
the action completes successfully; otherwise, false.
Signature
public Boolean isSuccess()
Return Value
Type: Boolean