Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to programmatically decide whether a session have unresolved errors in Interoperability?

Question
Nicky Zhu · Jun 10, 2022

How to programmatically decide whether a session have unresolved errors in Interoperability?

Hi,guys

My client is using IRIS 2021.1 Interoperability and they want to highlight the sessions with unresolved(without resent and completed operations) errors so their maintenance team can have a list of unresolved sessions to check against.

When I'm working on it, it seems to be it is is difficult to decide whether a session have unresolved errors. For example,

enter image description here

in this session, the entry async request is labelled as error after the following dispatches was resent and completed. So it is not correct to decide with the entry. Does it mean that we'll need to fetch all messages from a session and traverse the messages flow, depending on the status of all downstream messages to decided whether the session need to be handled?

I wonder what solution could be used to fulfill this requirement? Thanks.

#InterSystems IRIS for Health
Product version: IRIS 2021.1

Source URL:https://community.intersystems.com/post/how-programmatically-decide-whether-session-have-unresolved-errors-interoperability