sivasankaris
Tera Guru

Hi @nayanmule ,

  • In ServiceNow Flow Designer completed flow execution records are retained only for a limited time (typically around 2 weeks), after which they are automatically deleted by the Table Cleaner job.
  • Subflows follow the same mechanism since they also use the Flow Engine and store execution data in the same sys_flow_context table.
  • If you see the message “Flow execution not found”, it usually means the context record has already been removed by the cleanup job.

The retention period of flow is controlled by Table Cleanup (sys_auto_flush) records rather than a simple system property. You can review or adjust the cleanup rules by navigating to:

  • All→ Table Cleanup
  • and filtering for tables starting with sys_flow_.
  • There you can increase the Age in seconds field value.

Be cautious when increasing retention periods because Flow execution data can consume significant storage.

Note that flows or subflows that are still in a waiting state (approval, wait condition, etc.) should not be deleted, so if executions are missing while RITMs remain open, it may indicate the flow completed, errored, or never triggered properly

 

If this is helpful.. Please Mark it as Helpful and Please Accept the Solution..

Best Regards,

SIVASANKARI S