Update a field SCTASK form based on the output of AI Agent

AlpUtkuM
Mega Sage

Hello,

 

I have been working on an AI Agent to classify RITMs baded on their description and short description. The input of AI agent is RITM number and AI agent basically searches for some of the keywords in the description and short description and returns classification as output. This is working perfectly.

 

What I want to do is that, based on the output I want to update a field on SCTASK form and can't figure out how to make this working. Shoud I create another skill or what should be my approach?

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Hi @AlpUtkuM 

 

If you are looking for Agentic AI , 

 

 

  • Access Agentic AI Studio: Navigate to All > AI Agent Studio > Overview to begin.
  • Define the AI Agent: Click "New" to define your agent (e.g., "SCTASK Updater").
  • Instruct the Agent: Provide clear, natural language instructions (e.g., "When a user asks to update a task, locate the sc_task record by number and update the [Field Name] to [New Value]").
  • Create/Add Tools: Add a "Record Operation" tool to allow the agent to lookup and update the sc_task table.
  • Create Agentic Workflow: Create a new flow that uses this agent, defining the trigger condition
  • Test and Deploy: Use the "Save and Test" feature in Agent Studio to verify the agent updates the target field, then set to active.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

rpriyadarshy
Tera Guru

You need to Write the TOOL In your AI Agent for Data Update in SC-TASK Table.

You can refer Many OOTB AI Agents which Actually Updates Using such Tools .

 

Regards

RP