Invoking an Invocation Channel

close up of a mixer

Integrations between Maximo and external systems are built using input and output integration points. The output of information through the integration is usually done through the Publish Channels or the Invoke Channels.

Using InvokeChannelCache class

In case you need to invoke an Invocation Channel with a certain business logic, it would be the following:

# Invoking an Invocation Channel
from psdi.iface.mic import InvokeChannelCache

InvokeChannelCache.getInstance().getInvokeChannel("MyInvocationChannel").invoke(None, mbo, mbo, None)

Using ScriptService class

You can also invoke an Invocation Channel like this:

# Invoking an Invocation Channel
service.invokeChannel("MyInvocationChannel")

If you found my post interesting or useful and just want to say thanks, you can always buy me a coffee.

Leave a Reply