About flow reports

bonsai
Mega Sage

I have a few questions about flow reports.

① Can I export flow reports in XML format?

⇒ I'm thinking of doing this to get a backup of the flow reports.

The purpose is to keep the data in case of a failure.

② About the table where the flow reports are saved

⇒ I thought they would be recorded in the Flow engine context [sys_flow_context], but there was no information recorded in the report, and there was a log recorded in the system log [syslog].

I would like to know if there is a table that records information for each action, like a report.

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi @bonsai 

 

You cannot directly export flow execution reports (the runtime or reporting data) in XML format from the Flow Designer UI.

 

The flow execution and reporting data is distributed across several tables, depending on the level of detail and what you are looking for:

 
  • sys_flow_log: Logs events and messages related to flow execution (useful for troubleshooting)
  • sys_hub_action_instance: Stores the actual runtime values for input and output variables of each action step
  • sys_hub_step_instance: Stores configuration of input and output variables for flow action script steps
 
Maik

View solution in original post

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @bonsai 

 

You cannot directly export flow execution reports (the runtime or reporting data) in XML format from the Flow Designer UI.

 

The flow execution and reporting data is distributed across several tables, depending on the level of detail and what you are looking for:

 
  • sys_flow_log: Logs events and messages related to flow execution (useful for troubleshooting)
  • sys_hub_action_instance: Stores the actual runtime values for input and output variables of each action step
  • sys_hub_step_instance: Stores configuration of input and output variables for flow action script steps
 
Maik

Ankur Bawiskar
Tera Patron
Tera Patron

@bonsai 

Points are already covered by @Maik Skoddow 

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