Maximo Automation Scripting
Maximo Automation Scripting
5
Automation Scripting
Sep 9, 2012
Automation Scripting - Overview
Java 6 enabled the ability to access and control Java objects from a
scripting environment.
Maximo 7.5 adds the ability to access and control Maximo objects from
within a scripting environment.
How would we have done it without Automation Scripting and what would be
the impact of this approach?
Normal approach would have been a non-persistent field with a field class file to
perform the calculations. The class file would have had to be written in java,
compiled, embedded in the ear file and an outage required to deploy or update
What was involved in using Automation Scripting in this example and why
are we better off because of it?
Created a simple jython script to calculate the total and set the value. Associated
the launch point with the object. No outages required for deployment. Can be
updated during system operation. Registered in the database simplifying future
upgrades.
Simple Example
Simple Example
Simple Example
More Complex Example
Business Requirement
– Automatically add a prorated standard service line to an invoice created for a
Purchase Order flagged for retention.
Typical Approach
– Extend the MBO for invoices to automate the function. Requires a working
knowledge of java and Maximo MBO API’s. Extension requires compiling, ear
file registration and outage for deployment. Extension must be manually moved
during future upgrades.
Typical Approach
– A custom java class file would have been created to automate the
process. Much of it would have been hard coded and the typical
compiling, registering and outages would apply to deploy or make any
changes.
Benefits:
Easily extends Maximo business rules for processing objects
Easily Deployed or Updated without requiring an Outage
Easily activated or disabled
Stored as metadata for upgrades
Simplified Scripting versus Java skills
Support for Migration Manager
Reference Material