B2B Gateway > Tracking and Monitoring Events > File events
  

File events

The Events page provides detailed event processing information for every file that B2B Gateway processes, whether inbound or outbound.
A file event shows the status of a specific file that B2B Gateway processes. For each file event in the Events page, you can view the file that B2B Gateway sends or receives by clicking the file name. If B2B Gateway sends or receives an acknowledgment for the file exchange, you can view the acknowledgment file by clicking the link on the Acknowledgment column.
In outbound file events, you can view the source file by clicking the source file link on the event. The source file is the file that the custom outbound mapping generates.
B2B Gateway deletes event data from the database after one year.

Event history

You can view the event status history for each file that B2B Gateway processes.
The event history shows the processing stages that the file passed through, when each stage started, and the cumulative processing status.
The following table describes the processing stages that can show in the Event History for inbound files:
Stage
Description
Transferring incoming files
The gateway receives files from a source defined by the inbound connection.
Processing incoming files
For a custom file that Intelligent Structure Discovery processes, the message structure parses the file and produces output group (interface) files, then writes each interface file to the B2B Gateway document store. For other custom files, the custom inbound mapping writes the incoming files to an interface file on the B2B Gateway document store or writes the data to the backend system.
Processing files to backend
Processing the process-to-backend mapping.
Reprocessed from event
Indicates that the event was generated as a result of reprocessing of another event. The Event ID is presented in the status.
Reprocessed
Indicates that the event was reprocessed and a new event was generated.
Change event status to discarded
Indicates that the event status was manually changed to Discarded. If the user entered a reason for the change, the reason is displayed.
The following table describes the processing stages that can show in the Event History for outbound files:
Stage
Description
Processing files from backend
Processing the process-from-backend mapping.
Processing outbound mapping
The outbound mapping reads the files from the gateway and sends them to the partner.
Transferring incoming files
The gateway sends files to a target defined by the outbound connection.
Waiting for Acknowledgment (EDI X12 messages, outbound flow)
Waiting for partner to send a technical acknowledgment, a functional acknowledgment, or both.
Reprocessed from event
Indicates that the event was generated as a result of reprocessing of another event. The Event ID is presented in the status.
Reprocessed
Indicates that the event was reprocessed and another event was generated.
Change event status to discarded
Indicates that the event status was manually changed to Discarded. If the user entered a reason for the change, the reason is displayed.

Event session logs

Each time an EDI processing mapping or custom mapping runs, B2B Gateway generates a task event. You can access the session log from the event.
If an error occurs during file processing, you can use the related session log to view further information about the error.
For custom files that Intelligent Structure Discovery processes, there are only session logs for the process-to-backend mapping.
For more information about the log retention policies, see Log Retention Policies Informatica Knowledge base article.