Create diagram action
Create diagram actions for newly added custom shapes that can be used in Enterprise Modeling and Visualization to create diagrams.
Before you begin
Role required: sn_apm.apm_admin
About this task
After creating custom shapes and adding them to the shape library, you can define actions to associate with each shape. Diagram actions can enhance the user experience by making diagrams more interactive and functional.
Procedure
-
Navigate to Workspaces > Enterprise Architecture Workspace.
-
Open the Setup page by selecting the Setup icon ([Omitted image "eaw-icon-setup.png"] Alt text: setup icon.).
-
Select the expand row icon ([Omitted image "ExpandIcon.png"] Alt text: expand row icon.) next to Enterprise Modeling and Visualization.
-
Select Diagram Actions.
-
Select New.
-
On the Diagram Action form, fill in the fields.
For field information, see Create diagram action form.
-
Select Save.
Parent Topic:Configure Enterprise Modeling and Visualization
Related topics
Show or hide shapes in diagrams
Add or update shape icon for an entity
View relationships configurations
---
title: Create diagram action
description: Create diagram actions for newly added custom shapes that can be used in Enterprise Modeling and Visualization to create diagrams.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-portfolio-management/eaw-modeling-create-diagram-action.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 2
breadcrumb: [Configure Enterprise Modeling and Visualization, Configure EA Workspace using the Setup page, Configuring Enterprise Architecture Workspace, Enterprise Architecture Workspace, Enterprise Architecture]
---
# Create diagram action
Create diagram actions for newly added custom shapes that can be used in Enterprise Modeling and Visualization to create diagrams.
## Before you begin
Role required: sn\_apm.apm\_admin
## About this task
After creating custom shapes and adding them to the shape library, you can define actions to associate with each shape. Diagram actions can enhance the user experience by making diagrams more interactive and functional.
## Procedure
1. Navigate to **Workspaces** > **Enterprise Architecture Workspace**.
2. Open the Setup page by selecting the Setup icon \(\[Omitted image "eaw-icon-setup.png"\] Alt text: setup icon.\).
3. Select the expand row icon \(\[Omitted image "ExpandIcon.png"\] Alt text: expand row icon.\) next to **Enterprise Modeling and Visualization**.
4. Select **Diagram Actions**.
5. Select **New**.
6. On the Diagram Action form, fill in the fields.
For field information, see [Create diagram action form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-diagram-action-form.md).
7. Select **Save**.
**Parent Topic:**[Configure Enterprise Modeling and Visualization](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-setup-modeling.md)
**Related topics**
[Add or edit a relationship](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-add-edit-relationship.md)
[Add or edit an entity](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-add-edit-entity.md)
[Show or hide shapes in diagrams](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-show-hide-shapes.md)
[Add or update shape icon for an entity](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-add-update-entity-icon.md)
[Edit a modeling configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-edit-modeling-menu.md)
[Add a shape library element](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-modeling-add-shape-library-element.md)
[Add or edit a shape library](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-add-edit-shape-library.md)
[View relationships configurations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-view-relationships.md)
[View all entities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-view-entity-config.md)
[View configuration for Enterprise Architecture Workspace](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-view-modeling-config.md)
[View all shape libraries](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-portfolio-management/eaw-view-shape-libraries.md)
| title | Create diagram action |
| description | Create diagram actions for newly added custom shapes that can be used in Enterprise Modeling and Visualization to create diagrams. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-portfolio-management/eaw-modeling-create-diagram-action.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | Configure Enterprise Modeling and VisualizationConfigure EA Workspace using the Setup pageConfiguring Enterprise Architecture WorkspaceEnterprise Architecture WorkspaceEnterprise Architecture |