---
sourceDocument: Brazil Enterprise Architecture
sourceDocumentLink: https://www.servicenow.com/docs/r/application-portfolio-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enterprise Architecture

ft:clusterId :

    - appportman

bundleId :

    - appportman

workflow :

    - Technology


---

# Create a diagram action for a custom shape

# Create a diagram action for a custom shape {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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 enhance the user experience by making diagrams more interactive and functional.

## Procedure

1. Navigate to WorkspacesEnterprise Architecture Workspace.
2. Open the Setup page by selecting the Setup icon (![setup icon.]()).
3. Select the expand row icon (![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://www.servicenow.com/docs/e32Een2YRXVqkJmjwgGI_g "The diagram action form helps you to create action for a custom shape that can be used in the Enterprise Modeling and Visualization.").
7. Select Save.
**Related tasks**   

* [Custom shapes example](https://www.servicenow.com/docs/_0bd_HD0Bf00e~aEiKJLXg "Use custom shapes to represent specific elements that are unique to your organization, such as custom business processes, systems, or roles.")
* [Add a shape library element for a custom shape](https://www.servicenow.com/docs/Iu2Mor4NDOacgN8nv3D6KQ "Create a shape library element to associate a custom shape and its diagram action to the custom shape library.")
* [Add a custom shape library](https://www.servicenow.com/docs/8TPqiTP12LwpriT12GgVIQ "Create a shape library to add custom shapes that are unique to your organization.")
* [Storing shapes or images to the database](https://www.servicenow.com/docs/2LDboARpcHL4Al7KY77luQ "Upload the images to the database to configure them to show up in the diagrams page of the Enterprise Modeling and Visualization.")

*[\>]: and then


