Maximo Open Forum

 View Only
  • 1.  Maximo Mobile data refresh on update

    Posted 07-30-2025 08:11

    I've added the inspection result status to the MALCI section of the WO details page. Most, if not all, of our inspections are setup through MALCI and being able to view which are pending, inprog, complete is useful to our users. However, I cannot seem to get the data on the UI to reflect the change in status.

    For example, when I open a WO proceed to start a Pending Inspection, I am navigated to the Inspection app, perform my inspection, inspection summary page indicates its complete. When I am navigated back to the WO details page my inspection status field is still showing Pending..

    Has anyone run into anything similar where having the UI reflect local data changes are not displaying in the UI?

     <maximo-datasource id="woMultiAssetLocationds" id-attribute="multiid" can-load="{!page.state.notLoadWoDetailChilds}" relationship="multiassetlocci" order-by="sequence" selection-mode="none" depends-on="woDetailResource" controller="WorkOrderDataController">
              <mobile-referenced-load id="mgkqj">
                <mobile-datasource-reference app-id="inspection" datasource-id="assignedworktolist" id="xp5ke"/>
              </mobile-referenced-load>
              <schema id="m6z88">
                <attribute name="inspectionresult.status--inspresultstatus" id="a1_j24gm"/>
    ...
    <tag-group align="end" type="{item.inspresultstatus === 'INPROG'? 'green' : item.inspresultstatus === 'COMPLETED'? 'dark-gray' : 'cool-gray'}" wrap="true" tags="{[{label: `${item.inspresultstatus}`}]}" hidden="{!item.inspectionresult || !page.state.inspectionAccess}" id="sc_a1_r2y7z"/>

    #Customizations
    #MaximoApplicationSuite
    #Mobility
    #Utilities
    #WorkManagement

    ------------------------------
    Matthew Dudley
    Southern Company Services
    ------------------------------


  • 2.  RE: Maximo Mobile data refresh on update

    Posted 07-30-2025 09:08

    This behavior is expected. There have been some ideas such as Make the Inspection | IBM Sustainability Software - Ideas Portal to incorporate what you're looking for in the base product.

    The reason this occurs is the inspection and the work order transactional data are stored independently in two separate database tables. When you download the inspection data in the TECHMOBILE (or a clone thereof), it downloads a subset of the data as part of the work order download. When you work on the inspection, it's using the full dataset downloaded by the INSPECTIONS application in another table. Until the work order is updated (using the Data Update functionality or Check for Updates), the updated inspection status is not fetched from the server.

    There were some enhancements in 9.0 that I think in theory would work here but I haven't tried, and it isn't documented publicly. Normally when you load a transactional datasource, it looks for an entry in the sqlite database tagged with your application & datasource ID. That means a record that was downloaded via the INSPECTIONS application would normally only be able to load in the INSPECTIONS application. However, there is a flag you can pass that would cause the framework to ignore the query base and allow you to fetch the record even if your app and datasource didn't download the record. This feature was built for a different purpose, but I think it works here. This use case is one I've wanted to test it out on but haven't had time. 



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------



  • 3.  RE: Maximo Mobile data refresh on update

    Posted 07-30-2025 09:33

    Thanks Steven, this idea looks like our same pain point. I believe I am following the logic of INSPECTION data vs TECHMOBILE data.

    To take my thought process a step further, double check my understanding - if the user starts/completes the inspection the status value is on the device, in the INSPECTION datasource I assume now, is there currently no way to set the TECHMOBILE datasource inspection value to reflect change?

    Another similar situation comes to mind when an AS fires in Manage to update some attribute on some condition. I expect you would not see that AS logic reflect in Mobile, until you sync with the server refresh the record etc, but if you wanted to mimic that AS in Mobile you would have to recreate that logic in the AppCustomization.js correct?

    If this is trivial, I apologize, we are starting to explore with Maximo Mobile v9 with MAS now and I am working on getting the application shaped up for a pilot. 



    ------------------------------
    Matthew Dudley
    Southern Company Services
    ------------------------------