QuickActionResult Class

After you initiate a quick action with the QuickAction class, use the QuickActionResult class for processing action results.

QuickAction

See Also

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.

  • getIds()

    The IDs of the QuickActions being processed.

  • getSuccessMessage()

    Returns the success message associated with the quick action.

  • isCreated()

    Returns true if the action is created; otherwise, false.

  • isSuccess()

    Returns true if 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()

Type: List<Id>

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