For future readers; I ran into this problem as well, and even setting up my rule carefully exactly as indicated, and with the constraint: msgClass=Ens.StreamContainer, it did not work. I continued to get Error#5005 Cannot open file.
I found that it was the Operation that was not able to open the file in the Service's File Path.
I ensured the file service sent the file synchronously to the routing rule by keeping the Archive and Work paths blank.
The final step necessary was to set the Force Sync Send on the RouteRXPFile RULE, to force the rule to send synchronously as well. That allowed the Operation time to read the file before it was deleted, and send the file on to some other service on a different server / path.
Ah, I should mention that this is happening in code that I can't access. I can't really tel what's going on except by looking in the database after it's all "said and done". I can try that with one particular row in the database, but it's happening upstream, in othercode, and I'm wondering now if it's because the other code is possibly saving the Claim object differentlly.
However, this is a good idea. I'll play arond with a couple of objects that are already in the database, and se if I can save them to be "right side up", and then "upside down" again.
I can't use
Select claim.ClaimNumber, line.ProcedureCode from Claim
JOIN ClaimLine line ON claim.ID = line.Claim
because there is no line.Claim value.
Log in or create a new account to continue