QuickActionResult Class
After you initiate a quick action with the QuickAction class, use the QuickActionResult class for processing action results.
See Also
The following are methods for QuickActionResult. All are instance methods.
-
If an error occurs, an array of one or more database error objects, along with error codes and descriptions, is returned.
-
The IDs of the QuickActions being processed.
-
Returns the success message associated with the quick action.
-
Returns
trueif the action is created; otherwise,false. -
Returns
trueif the action completes successfully; otherwise,false.
If an error occurs, an array of one or more database error objects, along with error codes and descriptions, is returned.
public List<Database.Error> getErrors()
Type: List<Database.Error>
The IDs of the QuickActions being processed.
public List<Id> getIds()
Returns the success message associated with the quick action.
public String getSuccessMessage()
Type: String
Returns true if the action is created; otherwise, false.
public Boolean isCreated()
Type: Boolean
Returns true if the action completes successfully; otherwise, false.
public Boolean isSuccess()
Type: Boolean