Expired in-doubt transactions are transactions imported by an incoming call from a remote client, and left in the middle of committing. The final outcome (commit or rollback) needs to come from the remote party and has not yet arrived.
Expired in-doubt transactions happen if:
In that case: contact the remote team and ask them to check the outcome in their transaction logs. Then, update your LogCloud DB tables like this:
Alternatively, if the remote team is no longer available or you don't care, feel free to choose either of the above two actions. This is called a 'heuristic' decision on your behalf, and the resulting outcome in your system may not be compatible with what the remote party expected (and they may never find out). So use this at your discretion but beware of the possible consequences. It's probably best to document this kind of decision for archival purposes.