Is it possible to retrieve Flow context from RITMs, as Flow context get automatically deleted?

AbdurRahmanSnow
Giga Guru

Good evening.
Is there anyway, we can retrieve back the Flow context from RITMs, as it automatically gets deleted/expired after 10-15 days? Also, how should we change the validity period? Can we increase the expiration date? Is there any system property?

AbdurRahmanSnow_0-1754310717141.png

@Ankur Bawiskar @Dr Atul G- LNG 

4 ACCEPTED SOLUTIONS

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AbdurRahmanSnow 

 

Might be helpful

 

https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/concept/...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

kaushal_snow
Mega Sage

Hi @AbdurRahmanSnow ,

 

You can still retrieve details about Flow executions mapped to a RITM using sys_flow_context, as long as the record hasn’t been automatically deleted yet. Once ServiceNow runs its cleanup or table rotation job on that Flow‑context, it is permanently removed with no undo...

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

View solution in original post

Mark Manders
Mega Patron

This is done through the table cleaner, but be very carefully when you make adjustments. You should really ask yourself why you need to check on a flow that has run 2 weeks ago. If there were any issues, just recreate it and check what happens then. 
FYI: the link shared by Atul will provide more info and also warnings on why you shouldn't make changes.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@AbdurRahmanSnow 

by default the flow context are retained for some days

check these links for more details

Save yourself from audit nightmare if you use Flow Designer 

Flow execution details retention 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AbdurRahmanSnow 

 

Might be helpful

 

https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/concept/...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

kaushal_snow
Mega Sage

Hi @AbdurRahmanSnow ,

 

You can still retrieve details about Flow executions mapped to a RITM using sys_flow_context, as long as the record hasn’t been automatically deleted yet. Once ServiceNow runs its cleanup or table rotation job on that Flow‑context, it is permanently removed with no undo...

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Mark Manders
Mega Patron

This is done through the table cleaner, but be very carefully when you make adjustments. You should really ask yourself why you need to check on a flow that has run 2 weeks ago. If there were any issues, just recreate it and check what happens then. 
FYI: the link shared by Atul will provide more info and also warnings on why you shouldn't make changes.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron
Tera Patron

@AbdurRahmanSnow 

by default the flow context are retained for some days

check these links for more details

Save yourself from audit nightmare if you use Flow Designer 

Flow execution details retention 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader