Blog
Automatically stop workflow on closed work orders
When using a workflow to drive the status changes of an object in Maximo you shouldn’t allow the users to change the status directly through the ‘Change Status’ action. This could be easily done removing the ‘Change Status’ sigoption from relevant users groups. When users have both options enabled, it may happen that a closed work order has an active workflow on it. In such cases you can create an escalation to automatically stop workflow on closed work orders.
November 12, 2013
IBM Maximo Anywhere 7.5 leaked
Most of you already knows that IBM is going to release the long awaited next-gen mobile solution for Maximo. It will be called IBM Maximo Anywhere. An IBM whitepaper has just been published and the announcement letter will follow soon. While waiting for the announcement letter here are some leaked screenshots. The most promising features are: Online/Offline mode Integrated barcode scanning capabilities Maps integration Android support (iOS and WP will follow) Looks promising right?
November 8, 2013
Analyze groups to users association
The following SQL query lists all the security groups and the associated users. SELECT maxgroup.groupname, maxgroup.description, maxuser.userid, maxuser.loginid, maxuser.defsiteFROM maxgroupJOIN groupuser ON groupuser.groupname=maxgroup.groupnameJOIN maxuser ON maxuser.userid=groupuser.useridORDER BY maxgroup.groupname, maxuser.userid; The best approach to analyze the results is to load them into Excel and create a pivot table.
October 30, 2013
Automatically refresh Maximo Start Center
Users that heavily rely on StartCenters to check for incoming tickets or work orders sometimes ask if the StartCenter can automatically refresh itself. To accomplish this you can inject a small JavaScript into the StartCenter JSP code. Backup the following file and open it with a text editor: [SMPDIR]\maximo\applications\maximo\ maximouiweb\webmodule\webclient\components\startcenter-options.jsp Search for a row like this <table ... Add the following code just before that row.
October 21, 2013
Object Quick Summary
One of the customer that I’m working with is heavily relying on work logs. Unfortunately, the work logs are displayed in a standard table so there is no way of quickly displaying all the logs entered by the users. The solution I have designed is a QuickSummary tab in the Work Order Tracking application that displays the main attributes of the selected work order together with the historical work logs in one single text box.
October 18, 2013
Implementing a Smart Search feature
Using Maximo search functionality can be sometimes complex or even frustrating. Several customers have asked me if there is a simple Google-like functionality to search for all the objects that contains a specific set of words. This article describes how to implement such feature in the Work Order Tracking application. The solution described in this tutorial allows to display a simple search dialog when the user clicks on a specific button on the toolbar. When the user presses the ‘Search’ button the application will list the work orders containing all the keywords in any of the following fields: description, long description, location, asset, work logs. Note that this is not achievable using the Advanced Search dialog since this will search with an AND logic instead of an OR logic implemented here.
October 17, 2013
Display a summary of an object
NOTE: This techniques requires Java programming. A similar article describes how to achieve the same results with scripting. One of the customer that I’m working with is heavily relying on work logs. Unfortunately, the work logs are displayed in a standard table so there is no way of quickly displaying all the logs entered by the users. The solution I have designed is a Summary tab in the Work Order Tracking application that displays the main attributes of the selected work order together with the historical work logs in one single text box.
October 16, 2013
How to implement stateful MBOs
This entry is part of the Maximo Java Development series. Many objects in Maximo has a STATUS attribute that can be changed using the status icon or the change status menu option. The STATUS attribute is always associated with a synonym domain that has the valid statuses for the object. Examples of these domains are: POSTATUS for the PO (Purchase Order) object WOSTATUS for the WORKORDER object The objects with changes of status must inherit from the StatefulMbo class which provides the basic functionality to change the status. For example the WORKORDER object has the following class hierarchy:
October 15, 2013
MBOs attribute current, previous, initial values
When implementing business logic in Java code it may be useful to compare the value of an attribute to it’s previous or initial value. This is particularly useful when overriding MboValueAdapter.action() method to validate the new value of an attribute as soon as it changes. Look at how the three values are retrieved in the following example. @Overridepublic void action() throws MXException, RemoteException{ super.action(); String currVal = getMboValue().getString(); String oldVal = getMboValue().getPreviousValue().asString(); String initialVal = getMboValue().getInitialValue().asString(); if (!currVal.equals(oldVal)) { ... }}
October 13, 2013
MaximoDev Facts and Stats (September 2013)
Checkout the updated MaximoDev stats. MaximoDev Facts and Stats (September 2013) from Bruno Portaluri
October 7, 2013