PA Business Rule "Track artifact creation post-migration"

Tom Brown
Giga Guru

It appears that when I migrated our instances to Platform Analytics and used their migration tool, it installed about 40 business rules titled "Track artifact creation post-migration" that SN's Impact system is now flagging as bad code.  All it seems to do is update a system property called "glide.par.coreui.migration.new_coreui_artifacts_created" to "true".  Impact's Scan Engine says this is bad practice to set a system property in a script.  I don't see why this BR should run on any insert or update to a sys_report_source, a sys_ui_hp_cascading_filter, or a pa_m2m_dashboard_tab.  Is it hurting anything?  Probably not, just extra BR's to process.  I'd like to clear that finding though.  ServiceNow's AI keeps saying stuff about it being for tracking updates, but I don't see this doing anything like that.  The property been set to 'true' and has not been updated since creation in 2024.  I thought I'd throw this out to the community before opening a case.  Was this supposed to be cleaned up at the end of migration processing?

 

The entire script:

(function executeRule(current, previous /*null when async*/) {gs.setProperty("glide.par.coreui.migration.new_coreui_artifacts_created", "true");})(current, previous);
1 ACCEPTED SOLUTION

Mark Manders
Giga Patron

Create a Case with NowSupport. 

This is OOB introduced garbage which is flagged by their own created checks. Just call them out on it. 


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

View solution in original post

2 REPLIES 2

Mark Manders
Giga Patron

Create a Case with NowSupport. 

This is OOB introduced garbage which is flagged by their own created checks. Just call them out on it. 


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

Figured as much, thought I'd throw it out here first.  Thanks for the reply.