For each partner, you can define an inbound flow, an outbound flow, or both.
When you define an inbound flow, B2B Gateway uses the flow details to handle incoming messages and files and to send acknowledgements in response. When you define an outbound flow, B2B Gateway uses the flow details to handle outgoing messages and files.
When you define an inbound or an outbound flow, you configure a connection, select the mappings, and select a schedule for the flow.
If you select the file servers connection type for a flow, you can also select a file transfer task to decrypt or decompress inbound files or to encrypt or compress outbound files that you exchange with your partner.