Using Render SWIFT MT Activity
The BW-activity-MT535-rendering project contains the Statement-Generation process, which shows how to use the Render SWIFT MT activity to render MT messages.
Statement-Generation Process
This process uses account summary files as the input, parses the data from the files, passes the data to the Render activity, and then produces MT535 "statements of holdings" MT messages.
The following figure describes the Statement-Generation process:
The Statement-Generation process performs the following operations:
- The Poll-for-account-summaries activity searches for account summary files in the
$Root/holdings directory.
An account summary file is a text file, and each line in the file contains four values: Account Number, ISIN, Quantity, and Quantity Type. For example, an account summary file contains:
014010|ISIN US88632Q1031|10004,0|UNIT 0014010|ISIN US3838831051|02000,0|UNIT 0014010|ISIN NL0000009470|82000,0|UNIT 0014010|ISIN ES0130670112|00100,0|UNIT 0014010|ISIN FR0000120073|04587,0|UNIT 0014010|ISIN US7170811035|00153,0|UNIT 0032020|ISIN BE0003796134|00511,0|UNIT 0032030|ISIN BE0003796134|45000,0|UNIT 0045600|ISIN UX383XX31052|04344,0|UNIT
- The Parse-Data activity parses the data from the account summary files into a structured format, and passes it to the Render-SWIFT-MT535 activity.
- The Render-SWIFT-MT535 activity produces an MT535 "statement of holdings" MT message.
- The Write-MT535 activity writes the MT message to the mt535-acct-accountnumber.txt file in the $Root directory.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.