Writing a Business Process for a StandardsTranslation Operation

Assigning the SWIFT_ValidationFlag as a parameter to the StandardsTranslation operation within a business process does not perform the expected validation, and the validation is not performed by the translator because the workflow context returns the parameter as a string object instead of a NodeList. To define the SWIFT_ValidationFlag parameter, the assign statement should be made in process data outside of the StandardsTranslation operation. For example:


<process name="TEST_2008_574IRSLST">
  <sequence>
    <assign to="SWIFT_ValidationFlag">IRSLST</assign>
    <operation name="StandardsTranslation">
      <participant name="StandardsTranslation"/>
      <output message="Xout">
        <assign to="." from="*"></assign>
        <assign to="map_name">SWIFT_2008_574_IRSLST</assign>
      </output>
      <input message="Xin">
        <assign to="." from="*"></assign>
      </input>
    </operation>
  </sequence>
</process>