How to invoke one AI Agent from another AI Agent in Virtual Agent Assistant?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2026 06:26 AM
Hi Team,
I have created an AI Agent and deployed it in Virtual Agent (VA) as an assistant for end users. My requirement is to invoke different specialized agents from this main agent based on user requests—for example, an agent that creates problem tickets, another for incidents, etc.
Current Challenge:
- Agentic Workflows with multiple agents can only be tagged to Now Assist panels, not VA assistants
- Adding instructions in the agent to invoke other agents doesn't work
- I need agent-to-agent escalation/invocation within a VA context
What I've tried:
- Adding instructions to the agent
- Checking Agentic Workflow options (limited to Now Assist)
What I need: Is there a way to invoke one AI Agent from another AI Agent in Virtual Agent? Any native ServiceNow functionality, API, or workaround for this use case?
Any guidance would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @lukes_19 , apologies for the delay. I was having some issues with getting a proper working instance. I still have the wider team looking at the supervised vs. autonomous configuration, and what kind of outputs we actually expect.
In any case, scripting a User ID into the Subflow should work. I hardcoded the sys_id to return for demo data user Alene Rabeck. Her user record does have the role access required to invoke the AI agent in question (Egg Frying Agent).
In the Subflow:
In the Flow Designer Subflow test:
In the AI Agent Execution Plan:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @warren_chan,
My apologies for my delayed response. I've simulated the same conditions except using my own user record as the support user who does have the necessary roles to execute the Agent directly manually inside of AI Agent Studio. The results are posted below:
Subflow Configuration:
Flow Designer Execution Context:
AI Agent Execution Plan:
Is it possible that I'm missing a configuration somewhere since this seems to be an isolated occurrence? The instance itself is running on Australia Patch 2 Hotfix 3a and Now Assist Suite Version 29.2.20260702.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Maybe double-check by returning a string that has the sys_id of the sys_user. It looks like you're still returning a GlideRecord object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @warren_chan,
Turns out this was the issue in my case, thank you for your help!