Newer Version Available
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