Maximo Open Forum

 View Only

 Set Object Action in Object Structure to ADD on Inbound Processing

  • Administration
  • Integrations
Jared Schrag's profile image
Jared Schrag posted 12-02-2025 11:20

I'm reviewing the IBM Maximo Automation Scripting Guide for Integration scripts, specifically for Object Structure scripts. I am trying to see if this is applicable for my particular reuirement. I have an Object Structure with two Objects in the hierarchy. Upon processing inbound, I am needing to force the Action for the child Object ot be ADD.

In the documentation, it refers to the context function ctx.processAsAdd() - this is the processAsAdd method, which takes no parameters, of the psdi.iface.mos.OSProcessScriptContext class. The documentation implies that this method will set the top level object action to ADD since it takes no parameters, which is definitely not what I want, I only want to set the ADD action on the child object. I am guessing that the action on the top object must be compatible for allowing ADD on the child. Perhaps I'm approaching this in the wrong way. Any help would be greatly appreciated!

Jared Schrag's profile image
Jared Schrag

I have a sneaking suspicion that I'll need to implement an Enterprise Service inbound processing automation script that uses the given StructureData (erData, irData) to walk the object hierarchies, setting each top object's action to "Change" and the child object's action to "Add"