Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to include flow report output settings in an update set

bonsai
Mega Sage

bonsai_0-1763541367665.png

 

I'm thinking of changing the report settings for each flow, while leaving the instance-wide flow report settings as they are.

Because there are a large number of affected flows, I would like to use update sets.

However, the report output settings were not recorded in the update set.

Do I have to configure these settings manually?

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

As you discovered, Flow Reporting settings thankfully are not captured in an update set.  The system property named com.snc.process_flow.reporting.level should be set to the value of BASIC so that one can view the Flow Context on a record and see the execution steps and result.  All new flows, and those promoted to other instances will then take on this setting.  As is written everywhere on this topic, you do not need or want to set this property to FULL in any instance, and should only change individual flows to this sparingly due to the amount of data that you'll be needlessly adding to your instances.  Flows should be tested in Flow Designer / Workflow Studio, which generates the full reporting/logging.  The setting can be changed per flow if you must test outside of Workflow Studio, but then there is no reason to have Full logging in non-development instances.  I was happy to learn that this is the case so that I do not have to monitor when my developers change the setting then forget to change it back before promoting the update set.

 

You can easily see and update the reporting level on all flows via Flow Administration > Settings in the left nav, which is the sys_flow_execution_setting table.  This value changes immediately when a Flow Reporting Setting is changed in Workflow Studio, and will get reset to the system property setting when a flow is promoted. 

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@bonsai 

I tried but if you change the reporting settings for your flow it doesn't capture in update set

I believe you can change that and make some change in that actual flow such as update description etc and publish again.

that will capture in update set, I believe that's the only way

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

I published and recorded the flow in an update set, but when I applied it, the report and output settings were not reflected.

@bonsai 

so you are saying after migrating this flow via update set to other instance the reporting settings didn't reflect?

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

that's right!