Thursday 13 January 2022

Delete Outbound Error Messages from Message Reprocessing Application | IBM Maximo


Deleting error messages requires two actions. 

First the DELETEFLAG must be set to 1, then the status changed to RETRY. 

Both of these are done transparently when deleting a message in the Message Reprocessing application. In an escalation they must be done in the correct order.

Warning: Be very careful when using this escalation to delete held messages. If valid transactions are sent in while this escalation is active, and they fail due to a correctable error, they can be deleted.

In the Escalations application, create a new escalation.

Applies To: MAXINTERROR

Condition: status=status='HOLD' and queuename = 'jms/maximo/int/queues/sqout'

Add an escalation point and check the Repeat box.

Add an action. Use the lookup arrow to Go To the Actions app to create the Action.

Create a new Action with the following values:

Object: MAXINTERROR

Type: Set Value

Value: 1

Parameter/Attribute: DELETEFLAG

Save and Return with Value to the Escalations application.

Create a second Action with the following values:

Object: MAXINTERROR

Type: Change Status

Value: RETRY

Save and Return with Value to the Escalations application.

The Action to set the DELETEFLAG should have a lower sequence number than the Action to change the status. Change if necessary.

Set the desired schedule, such as every 5 minutes.

Save the record and Select Action - Activate/Deactivate.

When all the records have been deleted, deactivate the escalation and leave it in that state until such time as you might need it again.




















IBM Reference:
https://www.ibm.com/support/pages/message-reprocessing-escalations

No comments:

Post a Comment