Agentic Workflow gets stuck after trigger

adityavsing
Tera Contributor

I have created an Agentic workflow. It was working fine and I have tested this like n number of times starting in DEV and promoting till TEST.

I saw the workflow getting stuck in execution plan like very rare, maybe once or twice. But now for past few hours, I am noticing that all the triggers are just stuck in state in progress in execution plan.

Also when I check wf_context_list i don't even see the workflows related to those records created today.
Am I checking it wrong or missing something.

 

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Hi @adityavsing 

Check if your one also getting stuck at onGoing status.

If yes , follow this KB : KB2417915 AI Agent Executions Stuck in 'Ongoing' Status Due to Supervised Mode Configuration 

 

Keep in mind that your Agentic Workflow should clearly signal to the orchestrator when, how, and how frequently an AI agent should run. If your instructions or prompts are too minimal, the orchestrator won’t have enough guidance to operate effectively—so it’s important to be as detailed and explicit as possible.

 

Refer this blog as well: Advanced AI Agent Instructions Guide: ServiceNow Edition

 

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

Hi @Tanushree Maiti 

I don't think that can be the issue as It has been working and I have tested this n number of times. All of sudden all the executions are stuck.

 

thanks