Maximo Open Forum

 View Only

 Automate Message Stuck in Message Reprocessing

  • Administration
  • Integrations
Pavan Uppalanchu's profile image
Pavan Uppalanchu posted 04-11-2022 08:28
I wrote an Action launch Point and associated in Escalation to reprocess messages automatically which were stuck in Message re Processing. I am getting MBo fetch Error. Below is the script. 

from psdi.iface.app.interror import MaxIntErrorSet
from psdi.server import MXServer
from psdi.mbo import MboConstants
import psdi.iface.app.interror.MaxIntErrorRemote
import psdi.iface.app.interror.MaxIntErrorSetRemote

mxserver = MXServer.getMXServer()
userInfo = mxserver.getSystemUserInfo();
MessageReprocessingSet=mxserver.getMboSet('MAXINTERROR',userInfo)
MessageReprocessingSet.setWhere("deleteflag=0 and and messageid ='1216752.1613683618060838989'")
MessageReprocessingSet.reset()
((MessageReprocessingSet)).processAll(False)

With Regards,
Pavan Uppalanchu
Pavan Uppalanchu's profile image
Pavan Uppalanchu

Guys, 


I Figured it out.

Thanks. 

Aldrin Gutierrez's profile image
Aldrin Gutierrez

Hi Pavan,

I'm curious how you figured this out, I'm also building an automation script where we will automate the message reprocessing. 

Thank you! 

Shannon Rotz's profile image
Shannon Rotz

I have an escalation that does this.

  • Object:  MAXINTERROR
  • Where Clause:  status = 'HOLD' and queuename = 'jms/maximo/int/queues/cqin'
  • The attached action record does a SET VALUE of the Status field back to RETRY