Virtual Agent Error: Conversation flow potentially looping, exceeded 50 field evaluations:

Arun Wagle
Kilo Explorer

I am getting an exception while running the Virtual Agent flow.

com.glide.cs.qlue.module.runtime.expression.TopicException: Conversation flow potentially looping, exceeded 50 field evaluations: Error occurred when processing message

When does this exceeded 50 field evaluations mean ? 

How to debug and resolve this error ?

 

3 REPLIES 3

Community Alums
Not applicable

 Virtual Agent records the various topics run, such as the topics that a user requests or selects, as well as setup and any small talk topics that run during the conversation.

Interactions [interactions] table
Each Virtual Agent (VA) conversation in an instance automatically generates an interaction record in the Interactions [interactions] table, which logs the conversation between a requester and virtual and live agent. You can review the transcript of the conversation between the requester and virtual agent, including live agent transfers (if using Agent Chat). For details, see Virtual Agent interaction records.
Conversation [sys_cs_conversation] table
You can use the Conversation [sys_cs_conversation] table to see which tasks were run during a conversation. In the navigation filter, enter sys_cs_conversation.list to view the Conversation table. For each conversation, you can view two related tables:
  • Conversation Tasks [sys_cs_conversation_task] table — Lists all the tasks for a conversation. The relevant fields in each record include: Topic (name of the topic that was executed at runtime) and State.
  • Conversation Messages [sys_cs_message] table — The Payload field in each record contains the message string displayed for the conversation task (runtime topic executed).

Thanks,

Sandeep 

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Curious after this one, haven't seen something like this before. Can you share a screenshot of the error, and a picture of the setup of your topic for where this is potentially happening?

I did do a quick check if there might be a system property, though didn't found one.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

oelrafik
Mega Guru

Hello! 

We recently faced a similar issue and we did some digging in the ServiceNow KBs. For anyone still facing the issue and came across this thread, try this out: 

find_real_file.png

"To resolve the issue, you may create a system property - glide.cs.runtime.max_silent_fields of type integer and set the value to 150 (up to 300 has been verified by dev)"

Hopefully this can help someone out.