IBM Support

Orders are not picked by Payment Collection Agent due to last message not being null in the Queue

Troubleshooting


Problem

The Payment Collection Agent is not processing orders under all enterprises if the enterprise code under agent criteria is left blank.
Typically, if the enterprise code is left blank in the agent criteria, then the agent should process all orders under all enterprises.

Symptom

The exact same agent and payment configurations work fine on other environments, and the issue is isolated to one environment in particular.
Orders under all enterprises are not picked by the payment collection agent for processing, so orders are stuck unable to move forward unless the payment APIs are called manually.

Cause

There might be something stuck in the queue which is preventing the last message = null to be there, and this could be causing the issues.  If the last message is not set to null, the system will wait for the next message instead of completing the processing and reaching a stable state.

Diagnosing The Problem

1) In the GetJobs query, all enterprises are not included in the query even when the enterprise code in the agent criteria is left blank.
2) The same payment configurations and agent configurations on another environment work fine.
3) The System Payment Processing Rules are correct and identical to the rules on working environments.
4) Manually passing the enterprise code in the agent criteria help mitigate the issue and orders under the corresponding enterprises are picked correctly.

Resolving The Problem

1) Create a new queue.

2) Assign the payment agent to the new queue.

3) Leave the enterprise code as blank in the agent criteria.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"ARM Category":[{"code":"a8m0z000000cy02AAA","label":"Payments"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
17 June 2024

UID

ibm17157794