from psdi.common.action import Action, ActionRemote
from psdi.security import UserInfo
from psdi.server import MXServer
mxServer = MXServer.getMXServer()
userInfo = mbo.getUserInfo()
actionSet = mxServer.getMboSet("ACTION", userInfo)
actionSet.reset()
actionSet.setWhere("action = 'INV_RUN_REP'")
if(not actionSet.isEmpty()):
action = actionSet.getMbo(0)
action.executeAction(mbo)
actionSet.close()
Top Navigation
Sunday, 20 December 2020
Invoke Action from Automation Script | IBM Maximo
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment