Maximo Open Forum

 View Only

 MIF - Event Messages to include Previous and Current Values

  • Integrations
  • Maximo Application Suite
  • Maximo For Aviation
  • Maximo User Groups
Jonathan Pascale's profile image
Jonathan Pascale posted 10-27-2021 12:43
Hi, thanks in advance for any tips to this as i'm a novice when it comes to Maximo / Scripting

I'm following the link (shared below) on configuring Maximo to send outbound messages to our external application server.
I have this working and it does send out the latest JSON (when i change a work package)

My question is, how can we include the previous values as part of that message also.
e.g. i changed the description, i wanted to return both the previous and new

I know there's the mbo.getMboValue("DESCRIPTION").getPreviousValue().asString() etc but how can i pass this value along with the event message (which is currently based on the Object Structure configured with this?





IBM Link for Ref:
Configuring the Maximo integration framework to route outbound event messages to App Connect
Ibm remove preview
Configuring the Maximo integration framework to route outbound event messages to App Connect
For each Maximo event type that you want to add as a trigger to an App Connect flow, you must configure the Maximo integration framework for outbound communication.
View this on Ibm >

Biplab Choudhury's profile image
Maximo Certified Biplab Choudhury
Write an userexit script on the publish channel or object structure. There are different methods which you use - i cant remember but ibm documentation for integration scripting explains all the integration script methods. One of the method is crx.getmbo(). If you are successful in getting the mbo using this method then you can get the previous value using the method u have mentioned in your post.