ECS Forwarding Workflow (UDR)

ECS Forwarding Workflow (UDR)

The simple workflow illustrated below begins by decoding the input file, followed by validation checks performed in the Analysis agent. Valid UDRs are routed to the Encoder agent and output as new files. Invalid UDRs can be associated with an Error Code and Error Message using the udrAddError() APL function. Additionally, relevant MIM values, as defined in the ECS Forwarding agent configuration, can be associated with these UDRs before they are routed to the ECS Forwarding agent for transmission to ECS.

ecs-forwarding-workflow.png
Example of an ECS Forwarding Workflow (UDR)

UDRs may be sent to the ECS without any Error Code or MIM values associated with it. However, this will make browsing the ECS Inspector more difficult, and no auto-assignment to the Reprocessing Group using the Error Code is possible.

Note!

Aggregation and Duplicate UDR agents have an in-built mechanism to send error UDRs to ECS by routing the UDRs directly to the ECS Forwarding agent when certain error conditions are detected. The system includes two predefined error codes, AGGR_UNMATCHED_UDR and DUPLICATE_UDR, corresponding to the agents for these specific error conditions.

For more information, see Aggregation Agent and Duplicate UDR Agent.

ECS Inspector

Error Code can be tied with a Reprocessing Group via the Error Code view in ECS Inspector. In this way, UDRs with an Error Code are automatically assigned to the respective Reprocessing Group. Otherwise, the UDRs have to be assigned manually to be available for collection.

Note!

UDRs with several Error Codes mapped to different reprocessing groups cannot be automatically assigned to a reprocessing group. They must be assigned manually.

image-20250424-034132.png

Analysis Agent

The Analysis agent is used to validate and route UDRs and to associate with an Error Code. The following example attaches an Error Code and an Error Case to the UDR before sending it to the ECS Forwarding agent.

Example - Appending an error code and an error case to the UDR before sending

udrAddError( myErrorUDR, "AreaCode_ERROR", "Complete anumber: " + input.anum); udrRoute( myErrorUDR, "error" );

ECS Forwarding Agent

In the ECS forwarding agent, the MIM values you want to associate with the error UDR are mapped. This is optional, however, it makes it easier to search for data and get additional information about the UDR from the ECS Inspector.