Hi Justin,
Yes this is possible with Automation - my script is just a quick test I did to see if it would work it's untested in the real world but it does function, that said it could with some work it could possibly be made to work on the existing Mbo/MboSet.
I have a new attribute ASSET.CBTEST which is audit enabled and an Automation Script on the Object Asset which runs after save.
The script looks like this
from psdi.server import MXServer
assetSet = MXServer.getMXServer().getMboSet("ASSET", mbo.getUserInfo())
assetSet.setWhere(str(mbo.getUniqueIDName()) + " = " + str(mbo.getUniqueIDValue()))
assetRecord = assetSet.moveFirst();
if assetRecord != None:
assetRecord.setValueNull("CBTEST")
assetRecord.setEAuditFieldModified(False)
assetRecord.getThisMboSet().save()
I have re-fetched the Mbo using MXServer as a proof of concept here, in my limited testing it does refresh the screen correctly and doesn't throw any Record updated by another user errors but my system is just a Demo system with no interfaces or anything else that may add complexity to this functionality.
When I null the value NOACTION (or any available MboConstants) didn't stop a second audit record being created when the values is nulled but this line assetRecord.setEAuditFieldModified(False) does suppress that second audit line.
So if I update CBTEST to "Test Value" and hit save, I get an Audit Record with CBTEST set to "Test Value" and the value on screen and in the ASSET application cleared down.
------------------------------
Chris Brown
Naviam
------------------------------
Original Message:
Sent: 04-28-2026 12:51
From: JustIn goodLuck
Subject: Make audit enabled field null post save
Hi Team,
I need some help to make audit enabled field blank/empty post saving the record and that blank/null value should not be set in audit field.
Before save :- audit enabled field will have value.
After Save :- audit enabled field should be blank but field's null value should not be saved in audit field and should not make entry in audit table.
Please let me know if any option avaiable to implement this.
Thanks & Regards
#Customizations
#EverythingMaximo
#HSE/OilandGas
#MaximoApplicationSuite
------------------------------
JustIn goodLuck
ABS
------------------------------