- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2017 09:33 AM
Is it OK to deactivate the Auto Flush (sys_auto_flush) record for workflow contexts? I've read that older instances have this record. Completed workflow contexts over 180 days old are deleted because of this record. Newer instances do not appear to have this auto flush defined for workflow contexts, so I assume it is OK to set to inactive now?
Why did this exist at one time?
Solved! Go to Solution.
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2017 03:46 PM
Ok, Jeff, I have the answer now.
A long, long time ago, deleting the workflow context history led to an interesting problem with workflows starting afresh, years after the original flow completed. So, the Table Cleaner for Workflow Context was removed in Calgary - I did not realize it was so long ago. This was fine for a while but the flip side was that some heavy workflow customers started to see performance issues around the wf_context, wf_history, and wf_transition_history tables because they were growing so large. So, for Jakarta, we solved the original workflow restart issue and brought the workflow context cleaner back.
You can remove the Cleaner, but those tables will just continue to grow and the usefulness of the data in there is generally short lived. If you delete it, or mark it inactive, you would own the record and wouldn't get our updates to it during upgrades.
So there is the long story.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2017 10:14 AM
Great Jeff,
Glad I could help! Regarding your question about PRB583095, yes, that was the one from 2013 that resulted in new instances not getting the sys_auto_flush record after Calgary. The only way to view the PRB record itself would be to have an incident related to it. However, there is a brief description of it in the notes for the Dublin Release:Dublin Fixes - ServiceNow Wiki
Regards, Matthew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2017 06:04 AM
Jeff,
Glad to see that you are using the Community to learn more.
The Customer Experience team is striving to ensure that customer queries posted from the HI Service Portal are answered in timely and accurate fashion.
If you feel your question has been resolved, please mark the appropriate reply in the thread as being the Correct Answer.
This enables other customers to learn from your thread.
Thank you in advance.
If you are viewing this from the community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Regards,
Teena Singh
Customer Experience: UX Strategy and Customer Insights
teena.singh@servicenow.com
ServiceNow