# selectAction

Allows custom components to select and focus on a quick action on a record page.

## Arguments

| Name       | Type   | Description                                           |
| ---------- | ------ | ----------------------------------------------------- |
| actionName | string | The name of the quick action that you want to access. |

The actionName parameter starts with the Salesforce object, followed by the quick action name. For example:

```nolang
actionName: "Case.UpdateCase"
```

## Response

Returns a Promise. Success resolves to a response object. The Promise is rejected on error response.

```nolang
success: boolean,
unavailableAction: boolean,
targetableFields: [{
    fieldName: "Status",
    type: "PickList"
}],
actionName: string,
errors: []
```
