Newer Version Available

This content describes an older version of this product. View Latest

QuickActionResult Class

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

Namespace

QuickAction

Usage

In the application, QuickActions are referred to as actions or publisher actions.

Note

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>

getIds()

The IDs of the QuickActions being processed.

Signature

public List<Id> getIds()

Return Value

Type: List<Id>

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