Wednesday, 2 May 2018

Maximo Invoke Publish channel using automation script

Steps

1. Create an action.
2. Create an autoscript with below code

Option 1 
from psdi.iface.mic import PublishChannelCache
PublishChannelCache.getInstance().getPublishChannel(pubChannelName).publish(mbo, true);

Option 2 

server.lookup("MIC").exportdata("MYPUBLISHCHN","MYEXTSYS","WHERECLAUSE",
useirnfo,-1)

3. Create a object strucutre and Publish channel and External System.

4. Enable Publish channel and External System.

5. Apply autoscript on that action and Run that action.


No comments:

Post a Comment