Creating Extended Rules for SWIFT Maps

In the next release of SWIFT there will be support to update existing maps to include or add any message rule validation changes. This future update feature will impact you only if you want custom code in the extended rules (in existing maps) included in the validation block that only runs when validation is enabled. The update feature places custom extended rule code outside of the validation block. Thus, if you want to create custom rules used only during validation, then you need to follow the example below when you write extended rules for SWIFT maps to ensure they are only run when validation is enabled:


   if validation = 1 then
   begin
      {type your custom validation extended rule code}
   end