---
title: Activity definitions
description: Activity definitions describe how the activities in your playbook get the data that they need when your playbook runs.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/build-workflows/workflow-studio/activity-definitions.html
release: australia
product: Workflow Studio
classification: workflow-studio
topic_type: concept
last_updated: "2026-07-16"
reading_time_minutes: 5
breadcrumb: [Stages and activities, Understanding the playbook components, Build Playbooks, Playbooks, Workflow Studio, Build workflows]
---
# Activity definitions
Activity definitions describe how the activities in your playbook get the data that they need when your playbook runs.
Activity definitions provide default configurations and values for your activities so that they can run properly when your playbook is triggered. Each activity definition contains some basic configuration details, as well as an automation plan and activity experience.
The Activity Definition \[sys\_pd\_activity\_definition\] table lists the definitions for the activities that you can add to a playbook in Workflow Studio. To access these activity definitions, navigate to **Process Automation** > **Process Automation Administration** > **Activity Definitions**.
## Fields
Each activity definition record has these basic fields:
|
Field
|
Description
|
|---|
|
Label
|
Name of the activity to display to users in Workflow Studio.
|
|
Table
|
Name of the table whose records the activity can access as inputs. Typically, this table is either the Task \[task\] or Global \[global\] table.
|
|
Application
|
Application scope that the activity can run in.
|
|
Accessible From
|
Options include:- **All application scopes** - Users can access this activity from any application scope.
- **This application scope only** - Users can access this activity from the application scope that you specify in the **Application** field only.
|
|
Required Roles
|
A list of user roles that are allowed to access activities that use this activity definition.
|
|
Description
|
Optional description for the activity.
|
## Visibility for activity inputs
Activity designers can configure the visibility of each activity input.
- **Always show**
Displays the input in the properties panel.
- **Show as additional property**
Displays the input in the properties panel only when playbook authors select **Show additional options**.
- **Show as additional property for Playbook admins only**
Displays the input in the properties panel when users with the playbook.admin role select **Show additional option**. The input is hidden for any other users.
## Automation plan
Each activity definition has an automation plan. The automation plan for an activity definition specifies:
- The Workflow Studio flow or action, which drives the activity's automation
- The activity's inputs, which are the data that the activity needs to run your playbook
## Activity experience
Each activity also has an optional activity experience. The activity experience specifies an experience type, associated record, and details for what data to render in the activity's associated playbook card. Activity experience configurations only apply to activities that you add to a playbook which has an associated Playbook user experience.
- **Experience type**
An experience type defines the data, or properties, that describe how the activity renders as a playbook card at runtime. For example, a Record experience type can display a title, tagline, description, footer, and service level agreement \(SLA\) information in the Playbook card. This information displays when your activated playbook runs. For more information, see [UI Layouts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/experience-types.md).
- **Associated record**
The associated record defines the record whose data can render within a Playbook card at runtime. The associated record is dynamic, which means that it changes frequently as the playbook progresses. You can use the data pill picker \(\[Omitted image "data-pill-picker-icon.png"\] Alt text: Data pill picker\) to map the associated record to output record data. The output record data is within the underlying subflow or action specified in the automation plan.
- **Data to render in the Playbook card**
You can specify the data to render in the Playbook card in the sections under the Associated Record section. To add dynamic data to fields that render in this user-facing view, use the data pill picker \[Omitted image "data-pill-picker-icon.png"\] Alt text: Data pill picker next to a data field and navigate, or dot-walk, to the appropriate data pill. The data pill should point to data within the subflow or action specified in the activity definition's automation plan.
**Note:** An activity experience contains many sections where you can specify the data to appear within the Playbook card. These sections vary depending on the experience type that you select. For example, a Record experience type has Details, Form, Attachments, and Features sections, while a Knowledge experience type has Knowledge, Details, and Features sections. For more information, see [UI Layouts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/experience-types.md).
- **Actions to render in the Playbook card**
You can specify the Playbook actions that you want to render in an activity's Playbook card using the Playbook Experience Action Assignment Map related list. A Playbook action displays as a button in the Playbook card's footer. Playbook actions can run server scripts, dispatch client actions, or render UI components. For more information.
To add a Playbook action to your activity definition, select **New** in the Playbook Experience Action Assignment Map related list. Then, choose a Playbook action from the **Action Assignment** list. Next, choose a Playbook user experience that you want the Playbook action to appear in from the **Playbook Experience** list, and then click **Submit**.
## AI agents
You can enable and configure AI Agents for all form-based activities. If you enable AI Agents for an activity definition, playbook authors can choose how to use AI Agents for the activity. The AI Agents can be used in either of the following modes:
- **Collaborative**
The AI Agents generate and fill the values, then wait until a human reviews and approves the AI-generated value.
- **Autonomous**
The AI Agents can update the record, complete the activity, and automatically move the playbook to the next activity. In the activity definition, you can specify which actions you want the AI Agents to perform autonomously. For example, you can remove the option for AI Agents to complete an activity autonomously.
## Design considerations
Refer to these design considerations when working with activity definitions:
- **Avoid calling triggered Workflow Studio flows in an activity's automation plan**
To prevent unintentionally running a flow outside of Playbooks, you can use only subflows or actions in activity automation plans. Alternatively, you can set the flow's trigger to only run if not already running. For more information, see [Workflow Studio flow trigger types](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/flow-triggers.md).
- **Specify default input values in your activity definitions**
Preconfiguring default input values for your activity definitions reduces the time and complexity needed for a playbook owner to create a playbook.
- **[Create an activity definition](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/create-activity-definition.md)**
Specify the action or subflow you want an activity to run. Configure the inputs you want playbook designers to set when adding the activity to a playbook. Select the experience you want end users to have when the activity runs.
- **[Create an action as an activity automation plan](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/create-automation-plan.md)**
Create an example action to configure and run as an activity from Playbooks.
- **[UI Layouts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/experience-types.md)**
A UI Layout describes what properties and components to use when an activity renders as a card in a Playbook Experience.
**Parent Topic:**[Stages and activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/process-automation-designer-lanes-activities.md)