Maximo

Where was an asset located at a certain time in the past?

Maximo has a well known feature to display the history of where an asset was located. It is accessible from View Asset Move History from the Asset application.In the following example the asset DS01-A-002 was created in location DS01-S-SA-01 and then moved to other two locations. The data displayed in this dialog is stored in the ASSETTRANS […]

Logging in automation scripts

I have to admit, I’m a big fan of automation scripts.Recent updates released with Maximo 7.6.0.9 have almost covered all the possible customization needs including library scripts, REST APIs, MIF processing, before/after save event. All the new features are well documented in this somewhat secret document. However whatever nice feature will be added in the […]

Avoiding FetchResultStopLimit errors in Java or scripts

Today I had to face an issue deleting a large set of records from a Maximo table using an automation script. My script was something like this. mboSet = MXServer.getMXServer().getMboSet(“MYTABLE”, mbo.getUserInfo())mboSet.deleteAll()mboSet.save() Unfortunately the table I had to purge (MYTABLE in the example) was having more than 5000 rows so when I launched the script I […]

Automation Script to reset user’s Start Centers

In a previous post I have explained how to force the reload of a the start center for a specific group of users.I have now developed a useful automation script that can be invoked from the Security Group application to automatically perform this task with just one click.Register the script as a Script with an […]

How to correctly handle synonym domains in automation script

We all know that Maximo allows the definition of new internal values for synonym domains. A common example is the LOCTYPE domain that defines the allowed values for the LOCATIONS.TYPE field.If we want to implement a special business logic for the OPERATING type of locations we can write something like this in our automation script. loctype […]

Sending SMS from Maximo calling an external Web service

In my last project I had to implement a customization to send SMS messages using Skebby. The service APIs are obviously based on REST and JSON so I ended up writing an automation script to integrate Maximo with the Skebby service.In the process of writing the code I have faced (and solved) some interesting issues […]

Disable automatic asset/location population in Work Order and Ticket applications

Maximo has a feature that automatically populates the asset when a user enters a location and viceversa. This is a feature may be useful for most clients but some other clients don’t like this behavior. Unfortunately Maximo does not have a built in switch to disable this. The best solution to solve the problem is […]

How to restrict allowed status changes for workorders

Maximo has a predefined set of statuses for work orders that are defined in the WOSTATUS synonym domain. The values and their meaning are well documented in the official documentation. Unfortunately the allowed state transitions are hardcoded in the psdi.app.workorder.WOStatusHandler class and cannot be easily changed since they are defined as private arrays. Here is a brief […]

Scroll to top