Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Maximo Mobile Technician - Error when using Routes based on Multi-Assets (multiassetlocci)

  • 1.  Maximo Mobile Technician - Error when using Routes based on Multi-Assets (multiassetlocci)

    Posted Fri August 16, 2024 04:30 AM

    HI,

    When using a Route on a work order, which is based on multi-asset route stops, assign it to a technician, the work order in both RBA (browser) app and Native Maximo Mobile Technician app (installed in mobile device), it is not possible to mark the route stops as completed. In both RBA and Native situations, an error pops up that a certain boolean can't be found. This error arise only in MAS9.0.0 and MAS9.0.1 and seemed to work as expected in version MAS8.10 and MAS8.11.  Does anyone has an idea how to solve this?  In the mean time we have raised a Case (PMR) for this, since beside other "buggy" experiences we can't continuing our next release for a huge customer (showstopper).

    Work Order with Route Stops:



    RBA (browser) error

    Native (Mobile Device) error



    ------------------------------
    Jan-Willem Steur
    Manager Business Development
    ZNAPZ b.v.
    Breda
    +31 6 25639950
    Jan-Willem
    ------------------------------


  • 2.  RE: Maximo Mobile Technician - Error when using Routes based on Multi-Assets (multiassetlocci)

    Posted Sun August 18, 2024 08:59 PM

    I was able to recreate the issue with our inbound processing class. As a temporary workaround, you should be able to create an inbound integration automation script on the MXAPIWODETAIL object structure with the following script. A change made in the 9.0 release is looking for the isprimary flag in the message payload but during the completion, the isprimary attribute is not provided which results in the error since the inbound processing class tries to fetch it without checking to see if it has been provided. 

    def beforeProcess(ctx):
        struc=ctx.getData()
        multiAsset=struc.getChildrenData("MULTIASSETLOCCI")
        if multiAsset and not multiAsset[0].isInCurrentData("isprimary"):
            # Temporary fix to issue completing multiassetlocci
            primary=False
            if struc.isInCurrentData("ASSETNUM") and multiAsset[0].isInCurrentData("ASSETNUM") and struc.getCurrentData("ASSETNUM")==multiAsset[0].getCurrentData("ASSETNUM"):
                primary=True
            multiAsset[0].setCurrentData("isprimary",primary)



    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Maximo Mobile Technician - Error when using Routes based on Multi-Assets (multiassetlocci)

    Posted Mon August 19, 2024 01:48 AM

    Hi Steven,

    Thanks for the reply. I have tested this successful on one of our MAS9 environments (MaximoSecrets MAS9 environment). We can cope with this workaround. The case (TS016989411) is already submitted and reproduced by the support team, and forwarded to the product development team. I expect there will be a final fix available in the next fix release.

    Thanks once again!

    Regards,



    ------------------------------
    Jan-Willem Steur
    Manager Business Development
    ZNAPZ b.v.
    Breda
    +31 6 25639950
    Jan-Willem
    ------------------------------