Skip to main content

Posts

Showing posts from 2023

Calling External Python File/Libraries with "mxe.pylib.path" in IBM Maximo

Greetings, Automation Scripting is a powerful tool in Maximo that can be used to customize the Out Of Box (OOB) behavior of Maximo without the need to deploy any class file which requires downtime of the system. While automation script provides the ability to write code into multiple different languages and their versions like Python, Jython, JavaScript, and Nashhorn, etc. Python/Jython remains the most popular language they use. One of the most powerful features of Python is the availability of reusable libraries available to achieve many tasks. Many times a requirement need an external library to be called Automation Scripting which can be done much more easily with Maximo 7.6.1.2 onwards. In this use case, we have written an action script that will be called when the user presses the Test button on the Work Order application. This automation script contains the logic to call another external file with the name externalPy.py. We create a folder in the application server and place thi