---
sourceDocument: Brazil Build workflows
sourceDocumentLink: https://www.servicenow.com/docs/r/build-workflows

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Activity definitions

# Activity definitions {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Activity definitions

Activity definitions in ServiceNow define how activities within your playbooks retrieve the necessary data and operate when the playbook runs.
They provide default configurations, including automation plans and activity experiences, ensuring activities execute properly when triggered.
These definitions are managed in theActivity Definition \[syspdactivitydefinition\]table and can be accessed via Process Automation \> Playbook Administration \> Activity Definitions in Workflow Studio.
Show full answer Show less  

## Key Features

* **Core Fields:** Each activity definition includes fields such as Label, Table (usually Task or Global), Application scope, Accessible From options, Required Roles, and an optional Description to control access and context.
* **Visibility Controls:** Activity inputs can be configured to always show, show as additional properties, or be visible only to playbook administrators, enhancing input management for different user roles.
* **Automation Plan:** Defines the Workflow Studio flow or action that drives the activity's automation and specifies the necessary input data for running the playbook.
* **Activity Experience:** Optional configurations dictate how the activity is presented in the playbook card UI, including experience types (e.g., Record experience with title, description, SLA info), associated dynamic records, and data fields to render using data pill pickers.
* **Playbook Actions:** Allows adding interactive buttons to the playbook card footer through the Playbook Experience Action Assignment Map, enabling server scripts, client actions, or UI components to be triggered directly from the card.
* **AI Agents Integration:** Supports enabling AI Agents for form-based activities, with modes for collaborative input (AI suggests, human approves) or autonomous operation (AI updates records and advances the playbook). Activity definitions specify which AI actions are permitted autonomously.

## Design Considerations

* Avoid using triggered Workflow Studio flows directly in automation plans to prevent unintended executions outside playbooks; prefer subflows or actions with appropriate trigger settings.
* Preconfigure default input values in activity definitions to streamline playbook creation and reduce complexity for playbook owners.

## Practical Guidance for ServiceNow Customers

* **Creating Activity Definitions:** Define the automation (action or subflow), configure inputs for playbook designers, and choose the desired user experience for end users.
* **Configuring UI Layouts:** Customize the properties and components that render in playbook cards to provide clear, actionable interfaces to users during playbook execution.  
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 AutomationPlaybook AdministrationActivity Definitions.

## Fields {#activity-definitions__section_v2r_24p_rlb}

Each activity definition record has these basic fields:{#activity-definitions__table_ezy_jn4_rlb__entry__2}

| 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. {#activity-definitions__ul_k1n_4hb_zlb} |
| Required Roles | A list of user roles that are allowed to access activities that use this activity definition. |
| Description | Optional description for the activity. |
[ ]

{#activity-definitions__table_ezy_jn4_rlb}

## Visibility for activity inputs {#activity-definitions__section_pth_255_xjc}

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 {#activity-definitions__section_fbd_jr4_plb}

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-definitions__ul_mlg_qfp_rlb}

## Activity experience {#activity-definitions__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://www.servicenow.com/docs/NSUPcM8lRlQs8WKH9QEnOA "A UI Layout describes what properties and components to use when an activity renders as a card in a Playbook Experience.").

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 (![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 ![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://www.servicenow.com/docs/NSUPcM8lRlQs8WKH9QEnOA "A UI Layout describes what properties and components to use when an activity renders as a card in a Playbook Experience.").

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 {#activity-definitions__ai-agents-activity}

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 {#activity-definitions__section_hc4_5mm_tlb}

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://www.servicenow.com/docs/9byv16g7v9bD98vugUnTBw "Each trigger type defines when a flow starts and the starting data available to it. There are triggers for record operations, dates, and application operations.​").

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://www.servicenow.com/docs/3Hmw3j0I8zGJMb46wTfiug)**   
  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://www.servicenow.com/docs/j7c_tPNnSVbfLCRHtaJL2Q)**   
  Create an example action to configure and run as an activity from Playbooks.
* **[UI Layouts](https://www.servicenow.com/docs/NSUPcM8lRlQs8WKH9QEnOA)**   
  A UI Layout describes what properties and components to use when an activity renders as a card in a Playbook Experience.

*[\>]: and then


