I generally like the e-audit approach, but it might be a little bit eager to say e-audit works in all situations.
During development in Dev, e-audit will log each and every save. However, it will eventually be someone's job, and not necessarily that of the developer, to make a Migration Manager package and deploy it to Prod, or to copy/paste the updated code into Prod. The MM approach may preserve who made the last change and when, but the copy/paste approach will not. And either way, however many saves there were in Dev, they will be reduced to just 1 save in Prod -- possibly with an inaccurate change by/date. And eventually, Dev will be refreshed from Prod, so the multitude of e-audit records that had been there will be reduced to that one that made it through to Prod.
And then there's the question of ease of finding changes stored in the audit table and of going back to them. It would be nice if Maximo had code compare and merge features for autoscripts (and the other CIs that were mentioned) built on e-audit history.
------------------------------
Blessings,
Jason Uppenborn
Sr. Technical Maximo Consultant
Cohesive
------------------------------
Original Message:
Sent: Mon March 20, 2023 08:24 AM
From: Steven Shull
Subject: Automation Script source control
As was mentioned here already you need a source control system. Having processes around things like code review for example are critical to catching issues before they're deployed.
Having said that, it's not flashy but e-audit is your friend. We came up with a standardized list at my previous job of tables & columns we needed to audit (AUTOSCRIPT, SCRIPTLAUNCHPOINT, REPORTDESIGN, MAXPRESENTATION, MAXATTRIBUTECFG, etc.) so we could see who made a change, what change was made, when the change was made, and know what we needed to do to be able to revert if necessary. This is the "catch all" bucket and it works in all situations.
------------------------------
Steven Shull
Original Message:
Sent: Wed March 15, 2023 02:06 PM
From: Teng Moua
Subject: Automation Script source control
Hi all,
Seeing how others are managing their automation script source control. We don't have a good process to see previous version or best way to keep version history with many developers in the system. Any feedback would be great.
-Teng
------------------------------
Teng Moua
------------------------------
#AssetandFacilitiesManagement
#Maximo