
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 02:26 AM
Hi there,
When a chat is finished, a new chat automatically is started by the Virtual Agent. Both chats separated by dashes. Would it be possible to clear the previous chat upon finishing, so the new chat starts with a blank screen?
I know it is possible to clear the history upon starting a new session with the Virtual Agent (sysparm_skip_load_history=true). Though, this concerns a current session. I did already try a server-side refresh, but "An unrecoverable error" is the result (action.setReturnURL).
Any ideas?
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2019 10:44 AM
Opened an enhancement request for this.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2020 07:58 AM
Hi
I am facing the same issue could you please help me on this as client is very specific to clear history once chat is ending.
Is there a way to clear history based on time like once user has closed chat then after 6 hours will be disabling the history.
Please help me i am very need of the solution.
Thanks in advance,
shaikha.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2020 08:03 AM
Hi there,
No there's nothing for clearing the history within the current session.
Though reading your question, this is not about the current session? It's just about a new session? If so, like mentioned in the question above: add a URL parm: 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2020 08:10 AM
Thanks
Requirement once the user exit the chat and the next time the user logs in anf start the chat then i dont want to show previous days chat to users how can we achieve this ?
skip_load_history: true will disabled all history once user goes to next page current session also lost.
help please.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2020 08:17 AM
There's no out-of-the-box configuration or something for this. Though you could think of adding a Business Rule to add a query with created_on=today or something similar.
Give it a try. Or if you've tried and it's not working, just open a new topic on the Community. Maybe I'll spot the question, and else there are a lot of helping Community members also jumping in.
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