Maximo Mobile Customisation: Update Work Order status list

Maximo Mobile Customisation: Update Work Order status list

Maximo Mobile is becoming more and more popular this year. Several clients are moving towards implementing this product. You can click on this link to learn more about the product.

In this article, I am going to run through the steps or ways to update the Work Order status list displayed in My Schedule page of the app.

IBM has done one great thing with this new mobility solution is that all the functionalities are built within one app, so users do not need to navigate between apps to capture different kinds of data. One functionality of the app is the Work execution page known as My Schedule in Maximo Mobile.

One of the common requirements which we have seen from clients is to filter status list as per their business process. Most client’s only wanting to give access to 2 or 3 statuses to technicians using mobile solution.

Here below are 3 ways to filter the status list in Maximo Mobile:

1.    Update the query in Maximo Object structure

2.    Add conditional expression in the synonym domain values

3.    Update app.xml to enable custom status values

4.    Write logic Maximo mobile product java script classes.

Update the query in Maximo Object structure

Status list in Maximo mobile is fetch from Maximo using MXAPISYNONYMDOMAIN object structure. Query defined in Maximo for this object structure brings all the values from synonym domain.

Steps to change the query:

1.    Login to Maximo and navigate to object structure application.

2.    Search and click on MXAPISYNONYMDOMAIN object structure.

3.    From More actions menu, click on Query definition option. This opens a list of queries defined. Maximo Mobile uses MOBILEDOMAIN query.

4.    Update the query clause to define client specific queries for Status domain.

Add conditional expression in the synonym domain values

Maximo has the feature to conditionally hide synonym domain values. This feature is widely used by customers to configure different work order status values for users.

The same logic will work for Maximo Mobile as well. When Maximo mobile tries to fetch status data using the MXAPISYNONYMDOMAIN object structure then Maximo triggers the conditional synonym domain and sends a filtered resultset to Maximo Mobile.

Update Maximo Mobile app.xml 

IBM has built a customisation module for Maximo Mobile. It helps customers to build features and business process for their mobility solution implementation. You can read more about configuring and customising Maximo mobile here. Please follow the customisation guide to setup the development environment as a pre-req for this change.

Maximo Mobile just like Maximo Anywhere has a app.xml for each My Schedule. So, My Schedule page has its own app.xml under TECHMOBILE folder.

Steps to change app.xml to filter status values:

1.    Open app.xml and search for allowCustomWOStatus state. States is one of the technical concept in Maximo Mobile customization. Update the state value to true as seen in the below screenshot:

No alt text provided for this image

2.    Just below the allowCustomWOStatus state, you will find customAllowedStates state. The value of this state contains a list object with all the Maximo statuses. Each status in the list contains a list of allowed transition to list of statuses. If there are any custom status from client, then you need add that value to the status list and configure its transition status values. If I have to visualise this, then it would look like below list:

No alt text provided for this image

An example for adding a new custom status would look like this, with RESUME being a new status:

No alt text provided for this image

Note, please add the new status with exact same syntax as used by IBM. I removed some part of the XML for better readability of the statuses.

I will advise running some changes to understand this better. 

Write logic Maximo mobile product java script classes

Maximo Mobile has java script classes which can be updated to write customer specific business logic. Schedulepagecontroller is one such class file which has the java script method called changeStatus. This method’s logic can be re-written to a complex status list filter.

IBM advises to write all the custom logic in the appcustomization class files and even though I haven’t been able to write the change status logic in this class, but I believe there is a way to write the status list filter. Reason behind IBM’s advice is to avoid unwanted complexity during Maximo Mobile upgrades. Customization IBM provided class files will require customers to maintain and merge their business logic during upgrades.

There could be more ways, unknown to me, to filter the status list in Maximo Mobile. It will be great to hear about those methods as well.

Finally, please do share any feedback to improve this article or future articles.

Balakumaran Lenin

Maximo Solution Architect

2y

Very well written!

Sudipta Saha

Senior Asset management Consultant

2y

Great post Biplab

To view or add a comment, sign in

More articles by Biplab Das Choudhury

  • DevOps Solution for Maximo Mobile

    Maximo Mobile represents the new frontier for creating innovative applications within Maximo, and while IBM provides…

    2 Comments
  • Maximo 7613 OAuth Authentication Support

    OAuth authentication is becoming a mandatory requirement for API authentications as part of the cybersecurity measures…

    2 Comments
  • Maximo Work Order tracking Assignments

    IBM Maximo Work Order Assignment Functionality: An Overview Today, I will discuss the Assignments in Work Order…

    6 Comments
  • Maximo Manage New Applications : Operation Dashboard, Work Orders and Workflow Assignments

    World of IBM Maximo is transitioning into IBM Maximo application Suite and Manage. Maximo Manage expectedly will…

    4 Comments
  • Maximo Functional: Inventory Cost Variance from Invoices

    Invoicing in Maximo is one of many low-key modules and by far not the module that customers adopt easily. Often…

    5 Comments
  • Maximo Inspection Form - WO status to create Inspection Result

    Inspection forms in Maximo is a main building block for planning and scheduling inspections on Assets. An inspection…

    3 Comments
  • Maximo Anywhere 7.6.4 SAML SSO

    Enterprise SSO Implementation is one of the key organisation level initiative since 2020. Over the last couple of years…

    5 Comments
  • Maximo Certification Details

    Maximo 7.6 Certification looks like this: To Acquire Advanced Deployment Profession, you need to pass Maximo Functional…

    7 Comments
  • Maximo Anywhere 7.6.4 Upgrade

    At the Beginning of 2020, IBM Released the much awaited Maximo Anywhere 7.6.

    6 Comments
  • Data Ethics for All

    Data Science has become more important after the pandemic hit us. We don't know what is coming next but we definitely…

Insights from the community

Others also viewed

Explore topics