Marking Main Record as Modified while Modifying Related (Child) Records via Automation Scripts (v7.6)

March 2, 2017 Yalcin Kumbasar

When you modify, i.e. add/update/delete, child records (MBOs) related to a main record, the parent object might not always require saving, in other words it might not always get marked as "Modified". For default applications, the application forces the user to SAVE the main record because this functionality is implemented in the original MBO classes of Maximo. Unfortunately, when you have your custom objects used in your custom applications, you can face such use cases that you modify the child records and the main record is not affected by this modification. Here, I present a simple solution implemented using Automation Scripts:


Create an Object Level Automation Script for your child object with any modification option(s). I have selected Delete option of SAVE event for this example on version 7.6 seen below:










The tiny code piece for the python script is as follows:

owner = mbo.getOwner()
if(owner is not None):

We are done, in this example when you delete a child record its main record will notice that there is a modification.

Previous Article
New version availability: IBM Maximo for Aviation, IBM Maximo Asset Configuration Manager and IBM Maximo for Service Providers

  Check out these new Maximo product versions:  IBM Maximo for Aviation V7.6.5 IBM Maximo Asset Configurati...

Next Article
Large files are generated in TMP directory when reports run

If large files are getting created in a tmp directory all the time, or  some of the time, it  is because us...


Want our latest news? Subscribe to our blog!

Last Name
First Name
Thank you!
Error - something went wrong!