Assigning partners to the messages is automatically interesting, because it will allow you to view the partners directly involved in a message, make searches, e.g.: "give me all messages exchanged with partner X" or "make stats by partners", ... See the section Using partners for more details.
You can associate two partners with messages:
- The Partner IN. It is the entity from which the message comes, the sender of the message.
- The Partner OUT. It is the entity to which the message is adressed, the recipient of the message.
Partners IN and OUT in list of messages
Assigning partners via gateways
The easiest way to assign partners to messages is to tell the system "All the messages that are processed by this gateway come from partner X", or "All the messages that are processed by this gateway go to partner Y".
This is the easiest way, when a specific gateway is only used to communicate with ONE partner.
To do this in the interface, you have to go to the Gateway Detail screen, in the General tab, and just choose your partner. You have to define your partners first, so that you can choose it from the dropdown menu.
Assigning partners via gateways
As for all other elements of the application, the changes will only apply after deployment of your environment. Changes in partners (add, delete, change of ids, ...) also need to be deployed to apply to production messages.
Conflicts during identification
Partners can be identified in Two of the message processing steps. gatewayIn step (for partner IN), and gatewayOut step (OUT).
If you fill the partner info in just one of these steps, it will be enough for the system to extract the information.
Filling the information in many of these steps should not cause any problem, as the extracted info should be the same as each step. For example, there is no reason (apart from wrong configuration) for ids of the sender to be different in the source format of the message compared to the output format of the message.
Anyway, if it should happen, the message will not be set in error, and the first identified partner will be assigned to your message. A warning will also be added to the execution log of the message.
Message processing log - partner identification conflict