We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

SOW button invoking NowAssist skill and opening modal

kristinakra
Tera Contributor

Hello ServiceNow Community,

I am working on a requirement in Service Operations Workspace (SOW) and would appreciate some guidance.

I need to create a custom button on the Incident form that is visible only when:

  • the Incident is created from SOW, and

  • the Short description or Description field is added or modified.

A Now Assist skill is already created in the Now Assist Admin, but I am not sure how to:

  1. Create a button in SOW with the above visibility conditions

  2. Invoke the existing Now Assist skill from that button

  3. Open a modal after clicking the button that shows the suggested Service Offering and provides Accept and Reject actions

  4. Apply the accepted suggestion back to the current Incident record

  5. Automatically populate the Urgency field based on the selected Service Offering’s urgency

All of these steps are connected..
Since I have no prior experience with Now Assist development, I would be very grateful for guidance on the recommended approach (UI actions, workspace configuration, client scripts, UI Builder, etc.).

Thank you in advance.

1 ACCEPTED SOLUTION

rpriyadarshy
Tera Guru

@kristinakra  If i understood correctly - YOUR Now assist skill which is already Created is basically suggesting you the Service Offering value for a Given Incident.

 

As per you query and high-level inputs: - 

 

To invoke a Now Assist skill using a button in ServiceNow, create a UI Action (for classic forms) or a button component in UI Builder (for workspaces) that triggers the skill via Flow Designer or script. This involves enabling the "Flow action" setting in the Skill Kit, mapping record data, and configuring the button to execute the skill, optionally updating the record with the result. 

 

How to Trigger a Custom Now Assist Skill via UI Action - Part 2

 

https://www.youtube.com/watch?v=_RDGeDyq9-8

 

https://www.youtube.com/watch?v=AQbHFprNHBU&t=475

 

OOTB i know there is an AI Agent which predicts Category and Subcategory of an Incident. On Similar line Another AI Agent can be created to Predict Service-Offerings.

 

Regards

RP

View solution in original post

Custom skills can be triggered with the click of a button through the use of UI Actions. If you opt to deploy your custom skills to a UI Action, you will be prompted to select a table for the UI Action to appear on. Typically, you would want this table to align with whatever record your input ...
Learn how to deploy your custom skills created within Now Assist Skill Kit to components in UI Builder. UI Builder can be used to create user experiences, with the most notable examples being configurable workspaces. In this walkthrough, we will be creating a variant of a homepage in the Service ...
1 REPLY 1

rpriyadarshy
Tera Guru

@kristinakra  If i understood correctly - YOUR Now assist skill which is already Created is basically suggesting you the Service Offering value for a Given Incident.

 

As per you query and high-level inputs: - 

 

To invoke a Now Assist skill using a button in ServiceNow, create a UI Action (for classic forms) or a button component in UI Builder (for workspaces) that triggers the skill via Flow Designer or script. This involves enabling the "Flow action" setting in the Skill Kit, mapping record data, and configuring the button to execute the skill, optionally updating the record with the result. 

 

How to Trigger a Custom Now Assist Skill via UI Action - Part 2

 

https://www.youtube.com/watch?v=_RDGeDyq9-8

 

https://www.youtube.com/watch?v=AQbHFprNHBU&t=475

 

OOTB i know there is an AI Agent which predicts Category and Subcategory of an Incident. On Similar line Another AI Agent can be created to Predict Service-Offerings.

 

Regards

RP

Custom skills can be triggered with the click of a button through the use of UI Actions. If you opt to deploy your custom skills to a UI Action, you will be prompted to select a table for the UI Action to appear on. Typically, you would want this table to align with whatever record your input ...
Learn how to deploy your custom skills created within Now Assist Skill Kit to components in UI Builder. UI Builder can be used to create user experiences, with the most notable examples being configurable workspaces. In this walkthrough, we will be creating a variant of a homepage in the Service ...