We have a requirement to route documents based on ISA or GS ID. The processing rules allow routing based on the profile but not specific IDs.
At first I thought, I could create a document attribute say Receiver ID, extract the ID from the EDI data before routing to TN. That way I can use that attribute in the extended criteria of the rule. But, we have the following two requirements that prevents me from doing that…
There are multiple envelopes in the edi files received. We, submit the entire file to TN which then splits them into individual ISAs. So I cannot extract the attributes for individual envelopes before I submit to TN.
For many partners the split level is set to GS, as we get many different functional groups (IM, QM etc) in one ISA. So the routing rule should be executed on the x12 group and not the x12 envelope. In this case I need to have the Receiver ID attribute set for the X12 group. Which is not even possible before submitting to TN.
Has anyone solved this problem before? Help truly appreciated.