The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

Maximo Automation Scripting (jython) for Exporting Data

Maximo  Automation Scripting (jython) for Exporting Data


Action launch-Triggering point is button click
------------------------------------------------
from java.lang.System import out
from psdi.mbo import *
from psdi.server import MXServer
from psdi.iface.mic import MicService
from psdi.security import *
from psdi.security import UserInfo
micSrv = MXServer.getMXServer().lookup("MIC")
user= mbo.getUserInfo()
micSrv.exportData("PUBLISHCHANNEL", "EXTERNALSYSTEM", "1=1", user, 10)