Topic
No replies
Schouten
Schouten
2 Posts
ACCEPTED ANSWER

Pinned topic Invoke publish channel using automation script

‏2013-10-24T14:12:18Z |

Hi,

I'm trying to use a Jython automation script in Maximo 7.5  to invoke a predefined publish channel but i am struggling with the syntax.

MXServer server = MXServer.getMXServer();
UserInfo userInfo = this.getRunasUserInfo();
((MicServiceRemote)server.lookup("MIC")).exportData("PUBLISH CHANNEL", "MY_EXTSYS", whereClause, userInfo, 5000);

I found above Java syntax on this forum, but how can I use it in Jython?

Thanks in advance

Updated on 2013-10-24T14:12:45Z at 2013-10-24T14:12:45Z by Schouten