Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add button to Incident form, for Compose email

Scott29
Kilo Sage

Is there a way to add a button to the incident form that populates a field and then prompts the user with the "Compose Email"?

 

Scott29_0-1728321996731.png

 

1 ACCEPTED SOLUTION

MizukiNakanish
Tera Expert

Hi  Scott,
1.Create a UI Action:
・Navigate to System Definition > UI Actions in the application navigator.
・Click New to create a new UI Action.
・In the UI Action form, fill out the fields as follows:
  - Name: Give your UI Action a meaningful name (e.g., "Populate and Compose Email").
  - Table: Select Incident.
  - Action name: This is optional but can be used to refer to this action in other scripts.
  - Form button: check
  - Script: Add a script to populate a field and then prompt the "Compose Email" window.

 

2.Save and Test
Please mark helpful/correct if it helps you.

View solution in original post

1 REPLY 1

MizukiNakanish
Tera Expert

Hi  Scott,
1.Create a UI Action:
・Navigate to System Definition > UI Actions in the application navigator.
・Click New to create a new UI Action.
・In the UI Action form, fill out the fields as follows:
  - Name: Give your UI Action a meaningful name (e.g., "Populate and Compose Email").
  - Table: Select Incident.
  - Action name: This is optional but can be used to refer to this action in other scripts.
  - Form button: check
  - Script: Add a script to populate a field and then prompt the "Compose Email" window.

 

2.Save and Test
Please mark helpful/correct if it helps you.