A typical business case is to prevent editing of some specific fields to a set of organizational roles in Maximo. This is typically achieved by implementing attribute data restriction or conditional UI. However, if you need more control over what field should be readonly and when, you can use an automation script on the INIT […]
Maximo bulk update from List view
In some cases Maximo allows to perform bulk updates using actions on the List View. For example, you can set the timezone of multiple assets by selecting the Associate Time Zone on the List View of the Assets application and then a dialog will appear to perform a massive update on all the selected records. […]
DBC XML Format Reference
The DBC XML Format Technical Reference document disappeared from IBM website. You can download the document from this link. Thanks to Biplab Das Choudhury and Cezar Tipa.
Strict validation of attachment types
Attachments types can be defined setting the system property mxe.doclink.doctypes.allowedFileExtensions but Maximo just checks the file extension. Implement a more strict file type scanning when you upload an attached document.
Ensure Asset’s serial number uniqueness
Sometimes you need to ensure the uniqueness of a certain database column in the Maximo database. A common example of this scenario is to ensure that asset’s serial numbers are not duplicated. This can prevent the creation of duplicate assets. In this post I describe two techniques to achieve this using a unique database index […]
Send Work Order Calendar invitations
In this article I will show how to send calendar invitations to workers with work order details and reminders for the activities. The calendar event can have a link to Maximo in order to report progress or close the work order using the standard Everyplace or Work Centers interface.
Service object methods in automation scripts
The service object has been added in Maximo 7.6 script and is very useful in several scenarios. Here is a list of available methods. For more details refer to this page. Logging getLogger(loggerName) log_debug(logMsg) log_debug(logMsg, java.lang.Throwable t) log_error(logMsg) log_error(logMsg, java.lang.Throwable t) log_fatal(logMsg) log_fatal(logMsg, java.lang.Throwable t) log_info(logMsg) log_info(logMsg, java.lang.Throwable t) log_warn(logMsg) log_warn(logMsg, java.lang.Throwable t) log(logMsg) logError(logMsg) […]
Lookup not working in Advanced Search dialog
Today I faced an interesting problem. My customer asked to be able to search work orders with specific values in one of the custom fields I have added few weeks ago to the Work Order Tracking application. Easy I said. I know I just need to add that custom fields in the ‘searchmore’ dialog of […]
Script to run report and save as attachment
In this post I’m sharing an automation script to generate a BIRT report automatically and attach it a work order. I my scenario I have triggered it from the workflow but it can be also triggered from an escalation.
Handling a Custom Dialog using Automation Scripts
Automation scripts are undoubtedly a powerful feature but we all know there are some limitations. For example automation scripts cannot be used to handle user input in a custom dialog box. This is because the scripting engine runs in the businessobjects layer which is below the maximouiweb layer that can handle DataBeans and user interface […]