Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to clear the old conversations in the Agent chat Window?

Ramya43
Kilo Contributor

How to clear the old conversations in the Agent chat window?

1 ACCEPTED SOLUTION

Yes so see what I posted. It concerns using:

skip_load_history: true

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

View solution in original post

6 REPLIES 6

Hi Mark, 

In my experience, implementing Agent Chat to use this property causes some undesirable behavior. I am not sure if it is a "me" problem or if this is how it is intended to work. 

I setup my agent chat to use the property, and when I launched a new chat, the history was skipped (excellent!)

If I refresh the portal (where my VA is hosted), the VA interaction restarts, and the customer is no longer in the conversation they were prior to refreshing. (bad!)

When I looked at sys_cs_conversation to see the state of the original conversation, it was open (also bad!)

Does this seem correct?

Hi, what can i add to the script to delete the history after one week or 30 days?

 

Your help is greatly appreciated