Editing SWIFT messages

You can edit SWIFT messages to change the content, change the type from input to output, and reapply the schema, among other tasks.

Changing a message from input to output

About this task

When you apply a SWIFT schema to a blank text message, an input message is created by default. Complete the following steps to change the message type to output.

Procedure

  1. In the Test Factory perspective, double-click a SWIFT message to open it.
  2. In the Message pane, right-click the Application (Message) node. Click Type > Application and click the output message type.
    Example shows MT101 Input and Output applications
    After the edit, the value of the IO Identifier field changes from I (for input) to O (for output).
    The O for output is outlined in red
  3. Save and close the message.

Adding a field to the message

About this task

You can add fields to the message. The fields can be added from the schema, or you can create them. For example, by adding user-defined fields, you can create a message structure that replicates a previous version of the SWIFT standard.

Procedure

  1. In the Test Factory perspective, double-click a SWIFT message to open it.
  2. In the Message pane, right-click the Body (Message) node. Click Add Child. Because the list of possible fields is long, it is divided alphabetically. Two field names are displayed, each of which is the first name in one of the lists. Move your cursor over each name to see the available fields. Fields that are already in the message and that cannot have multiple instances are disabled.
    Example of adding a child to the message body.
  3. Click a field to add it to the message. The last option on the second menu is User Defined. If you choose this option, click (String).
  4. In the Field Editor, enter an optional value for the field, among other information; see The Field Editor. For fields from the current SWIFT schema, the Name field is prefilled and disabled. For user-defined fields, you must enter a name. This name must be a valid field number, that is, 2 digits followed by an optional letter. Descriptive names cannot be used for user-defined fields. Click OK when finished.
  5. Save and close the message.
Feedback