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
------------------------------