Import Classes and Packages using Javascript Language and Automation Scripts

This question has been asked on LinkedIn and answered but I keep forgetting so I’m writing it down here for quick reference.

To import classes:

importClass(Packages.psdi.Mbo.MboContants);

To import a package:

importPackage(Packages.psdi.Mbo);

Series Navigation< Automation Script: params variable not working with JavaScript languageAutomatic Status Changes for Service Requests (SR) with Automation Script >

Did You Know...

As Maximo Experts, we have developed Maximo adds on products to make Maximo work assignment simple, reporting easy, and facilitating service requests seamless. Check out our additional products EZPlanner, EZInsight, and EZRequest.

Find Out More

Leave a Reply

Your email address will not be published. Required fields are marked *