Maximo Open Forum

Expand all | Collapse all

Workorder Communication Log method

  • 1.  Workorder Communication Log method

    Posted 3 days ago
    Can someone explain the method that Maximo uses to send communication emails from the workorder.  Thanks
    #Administration

    ------------------------------
    Brian Swanson
    Herman Miller
    ------------------------------


  • 2.  RE: Workorder Communication Log method

    Maximo Certified
    Posted 2 days ago
    I'm not entirely sure what question was looking to be answered. I'm going to take this in the automation script direction assuming that is what you meant by method.

    Maximo has a function createComm on MBOs (it's on the generic Mbo class that everything extends so it's available on SR, WORKORDER, ASSET, custom objects, etc.) that creates a COMMLOG record as part of a set from the main record using the relationship COMMLOG. From there you can set the templateid attribute if you want to use a communication template. And when it's done, you execute the sendMessage() method of commlog. An end to end example for script could look something like:
    commlog=mbo.createComm()
    commlog.setValue("TEMPLATEID","mycommtemplate")
    commlog.sendMessage()​


    ------------------------------
    Steven Shull
    Projetech Inc.
    ------------------------------