Maximo Open Forum

 View Only

Automation Script - Unable to add COMMLOG to CLOSED service request.

  • 1.  Automation Script - Unable to add COMMLOG to CLOSED service request.

    Posted 07-06-2025 14:48

    Been using an automation script for some time now that sends out communication templates based on the changes to a status on a service request.

    The below code behaves exactly as expected however when the SR is in a CLOSED or CANCELLED status we receive: 

    psdi.util.MXAccessException: BMXAA0024E - The action ADD is not allowed on object COMMLOG. Verify the business rules for the object and define the appropriate action for the object.
    commSet = srMbo.getMboSet("COMMLOG")
    comm = commSet.add()
    comm.setValue("TEMPLATEID", "MYTEMPLATE")
    comm.sendMessage()

    Is it possible to force the email to send and for the communication log record to be created even if the SR is being changed to CLOSED status?


    #Customizations

    ------------------------------
    Andrew Weaver
    TechAdept Solutions
    ------------------------------


Newest Episode
Ep. 5 | Make Manage Feel Like Home with Configuration, Not Customization

Watch Steven Shull and Phil Runion discuss how IBM Maximo Manage teams can make the system feel more familiar, useful, and aligned to their business through configuration instead of customization.

MORE by Naviam Episode 5 cover
Watch Episode 5
Also available: Ep. 4 | System Properties in IBM Maximo