Sometimes there is a situation when we want to trigger an outbound interface at certain specific time. Like based on a cron task in Maximo.
There is a very useful in MicService for this.
MicService is the service class for Outbound Integration services.
public void exportData(java.lang.String ifaceName, java.lang.String sender, java.lang.String where, UserInfo userInfo, int maxcount) throws MXException, java.rmi.RemoteException
- This method will be called from GUI for bulk data loading from MAXIMO to external system
ifaceName– Give name of channel.
sender– Give external system name.
where– Give where clause.
userInfo– Give reference to UserInfo object.
MXException– MAXIMO exception
java.rmi.RemoteException– Remote exception
This method you can invoke in a Cron Task Class so when the cron is executed the outbound interface is triggered. The outbound interface will process records it finds in the where clause.
I hope this helps.