Action contains actions that can be invoked from a trigger.

This datatype is used by the addActionLabels(), createActionFromTemplate(), and removeActionLabels() mutation fields.

This datatype is also used by two other datatypes: ActionEntry, which is used by the datatype, SearchResult, which in turn is used both the entitiesSearch() and entitiesPage() query fields; and by the datatype, CreateActionFromPackageTemplateMutation, which is used by the createActionFromPackageTemplate() mutation field.

Additionally, this datatype is used by Alert, Repository, and other main datatypes, which are used by several mutation and query fields.

Table: Action

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
allowedActionsAssetActionyes Short-Term Allowed asset actions
createdInfoAssetCommitMetadata  Long-Term Metadata related to the creation of the action
displayNameStringyes Long-Term The display name of the action.
idStringyes Long-Term The id of the action.
isAllowedToRunBooleanyes Long-Term False if this type of action is disabled because of a security policy, true otherwise
labelsStringyes Long-Term Labels to categorize the action.
modifiedInfoAssetCommitMetadata  Long-Term Metadata related to the latest modification of the action
nameStringyes Long-Term The name of the action.
packagePackageInstallation  Long-Term The package, if any, which the action is part of.
packageIdVersionedPackageSpecifier  Long-Term  
requiresOrganizationOwnedQueriesPermissionToEditBooleanyes Long-Term True if this action is used by triggers, where the query is run by the organization. If true, then the OrganizationOwnedQueries permission is required to edit the action.
resourceStringyes Short-Term The resource identifier for this action.
yamlTemplateYAMLyes Long-Term A template that can be used to recreate the action.