Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to open Now Assist Side panel via script?

Ryada
Kilo Contributor

I want to open Now Assist panel on button click(declarative form action). 

3 REPLIES 3

Dr Atul - LNG
Tera Patron

Hi @Ryada 

I doubt it’s possible; I couldn’t find any documentation related to it.

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Tanushree Maiti
Tera Patron

Hi @Ryada 

 

Refer this link if helps:

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

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

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

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
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 ...

Siva
Tera Expert

Hello Ryada, 

 

Not sure if you have got an answer to this yet, if so please let me know, but till patch 3 Australia this was working and after patch 5 it doesnot seem to work. 

 

There is an OOB Client script on Incident table , you can have a look at the same, 

Name : AIA notif - incident

viewPlanBtn = `<now-button label="${viewPlanMsg}" bare=true onClick="(function(e){e.target.dispatch('OPEN_UTILITY_MENU', { id: 'nowAssist', pin: false, additionalData: { conversationId: '${convId}' } }); })(event);">${viewPlanMsg}</now-button>`;