Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

CustomNotifActionDef

Represents the metadata associated with a mobile action group notification definition. This object is available in API version 66.0 and later.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

Fields

Field Details
ActionGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Unique identifier for the field.
This field is a relationship field.
Relationship Name
ActionGroup
Relationship Type
Master-detail
Refers To
CustomNotificationActionGroup (the master object)
ActionName
Type
string
Properties
Create, Filter, Group, Sort
Description
Name of the mobile action group. Use a unique name per custom notification type. The field can contain only underscores and alphanumeric characters. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
ActionOrder
Type
int
Properties
Create, Filter, Group, Sort, Update
Description
Order in which this action appears in the mobile action group. Select a number between 1 and 3, as there are 3 maximum actions in a group.
ActionType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Possible values are:
  • NotificationApiAction
  • Share
Label
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Label for the action.
TargetId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
This relationship field is the name of the ApexClass that implements handling of the action. TargetId is used only when the ActionType is set to NotificationApiAction.
Relationship Name
Target
Refers To
ApexClass

CustomNotifActionDef is exposed in Tooling API to user profiles with the View Setup and Configuration permission. To create and edit mobile action groups, the Customize Application permission is required.

Note