- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 10:46 PM
Hi!
I am trying to run a remote action using ServiceNow Virtual Agent which will return the device health from a third party tool called Nexthink. I have created the required REST Message and HTTP method to invoke the API call. I have also created a topic in Virtual Agent Designer which contains a script to call the REST message and return the response. I will attach the code below. I am able to get correct response through the REST message, but I am not able to parse the response or output through Virtual Agent. Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 11:47 PM
Please try replacing
vaVars.responseBody
with
var responseBody
in both the codes and retry.
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 03:31 AM
Can you provide the detailed steps of how you integrated servicenow with nexthink?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 09:21 AM
Create an Application Registry to connect to the NexThink
Create REST Message using that OAuth profile you just built
Create HTTP methods on that REST Message for different NexThink remote actions or query pulls
In virtual agent you can then tap into these, but one thing I did was query the CMDB for the device that user was assigned, and had them confirm that was the device they are on... otherwise you don't know what device to execute the remote action on!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 11:44 PM
I have created a action in flow designer how virtual agent can invoke this action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 11:46 PM
I have created action in flow designer how can i invoke that into virtual agent