Agentic AI Agent & Decision Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
So, Agent AI Agent. It needs to query a Decision Table. Very simple, an input that will match one of 6 rows.
I provide the steps and it cannot do it, it is asking for a tool or a capability, to which there are NONE in
1. Using the passed "input", query the Decision Table "DT Test". The Decision Table has a single input called "input" and it should be the value passed to this agent
2 Return the Results for the matched record
For record etc, I have added the relevant tools for Records etc (seems so bizarre I need to do that)
For this, the Suggested Tools say "Execute Action", but that is not going to do anything.
No options under "Add tool"
If I choose "Script" under "Add Tool" and go to choose an existing script, there is nothing for a Decision Table
So, how do Agentic AI Agents query a Decision Table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
44m ago
Hello @JulianP32954866 ,
from the question what I understand is that you cannot query Decision Tables directly because there is no out‑of‑the‑box tool for them.
So to achieve this, you need to create a Script Action that uses the sn_decision.DecisionTable API to evaluate your table (DT Test) against the passed input.
Navigate to Decision table > at right top corner :
Once created, register that Script Action as a Tool in the Agent configuration. The Agent will then be able to call this tool, pass the input, and return the matched record.
If my response helped mark as helpful and accept the solution.