How to run the example
This TARGET2 RTGS MX Validation will use the sample files to demonstrate the generation of validation report as output from a TARGET2 RTGS XML message.
The stopValidation.json file will report the validation failure due to the pre-conversion checks:
If input file is other than any of the supported TARGET2 RTGS messages as per schema list indicated above.
- Import the t2_rtgs_flow.zip project into the Design Server.
-
Open the t2_rtgs_flow project in Design Server and view the flow
t2_rtgs_validation_flow.
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9051_head111_camt
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9001_camt_054_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9002_camt_029_001_09
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9003_camt_056_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9004_camt_053_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9005_camt_003_001_07
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9006_camt_004_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9007_camt_005_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9008_camt_046_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9009_camt_047_001_06
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9010_camt_048_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9011_camt_049_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9012_camt_050_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9013_camt_006_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9014_camt_018_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9015_camt_019_001_07
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9016_camt_025_001_05
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9017_camt_007_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9018_camt_009_001_07
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9019_camt_010_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9020_camt_011_001_07
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9021_camt_012_001_07
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_camt_validation_enh/t2rt9022_camt_021_001_06
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9151_head111_pacs
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9101_pacs_002_001_10
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9102_pacs_008_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9103_pacs_010_001_03
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9104_pacs_004_001_09
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pacs_validation_enh/t2rt9105_pacs_009_001_08
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pain_validation_enh/t2rt9251_head111_pain
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pain_validation_enh/t2rt9201_pain_998_001_01_atn
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pain_validation_enh/t2rt9202_pain_998_001_01_ais
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_pain_validation_enh/t2rt9203_pain_998_001_01_ati
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_admi_validation_enh/t2rt9351_head111_admi
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_admi_validation_enh/t2rt9301_admi_004_001_02
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_admi_validation_enh/t2rt9302_admi_005_001_01
- @packagemap=t2_rtgs/validation/mx_extended/maps/t2_rtgs_mx_admi_validation_enh/t2rt9303_admi_007_001_01
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9951_head_001_001_01
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9501_camt_054_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9502_camt_029_001_09
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9503_camt_056_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9504_camt_053_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9505_camt_003_001_07
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9506_camt_004_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9507_camt_005_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9508_camt_046_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9509_camt_047_001_06
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9510_camt_048_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9511_camt_049_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9512_camt_050_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9513_camt_006_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9514_camt_018_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9515_camt_019_001_07
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9516_camt_025_001_05
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9517_camt_007_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9518_camt_009_001_07
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9519_camt_010_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9520_camt_011_001_07
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9521_camt_012_001_07
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9522_camt_021_001_06
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9601_pacs_002_001_10
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9602_pacs_008_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9603_pacs_010_001_03
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9604_pacs_004_001_09
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9605_pacs_009_001_08
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9701_pain_998_001_01_atn
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9702_pain_998_001_01_ais
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9703_pain_998_001_01_ati
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9801_admi_004_001_02
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9802_admi_005_001_01
- @packagemap=t2_rtgs/validation/schema_only/maps/t2_rtgs_mx_schema_validation_xsd/t2rt9803_admi_007_001_01
-
It utilizes the following nodes:
- Map Nodes:
- MX pre-check
Runs map mxut1005_bizsvc_t2rtgs which set flow variables, check pre-validation conditions and create infoset.json for validation.
- MX De_envelope
Runs map t2rtgs11900_deenvelope which separates header and document portions for messages.
- BAH EXT-VAL
Runs map t2rt9991_bah_val which calls the appropriate map to performs extended validation on the header of a TARGET2 RTGS message.
- BAH XSD-VAL
Runs map t2rt9996_bah_val which calls the appropriate map to performs schema validation on the header of a TARGET2 RTGS message.
- DOC EXT-VAL
Runs map t2rt9992_doc_val which calls the appropriate map to performs extended validation on the body of a TARGET2 RTGS message.
- DOC XSD-VAL
Runs map t2rt9997_doc_val which calls the appropriate map to performs schema validation on the body of a TARGET2 RTGS message.
Note: The maps t2rt9991_bah_val, t2rt9992_doc_val, t2rt9996_bah_val and t2rt9997_doc_val internally call all the other maps identified in the above Flow Description step.
- MX pre-check
- Decision Nodes:
- pre-valid chk
This node checks the flow variable stopTranslation to decide if further processing is required.
- pre-valid chk
- Route Nodes:
- BAH-VAL
This routing node identifies the type of validation to be performed for the business application header. The options are extended or schema. The default as per the flow settings is extended.
- DOC-VAL
This routing node identifies the type of validation to be performed for the business document. The options are extended or schema. The default as per the flow settings is extended.
- BAH-VAL
- Log Nodes:
- FAILURE
It creates stopMXvalidation.json log file in case of no validation due to pre-condition check failures.
- bah_ext
It creates bah_validation_results.xml output file for results of message header extended validation.
- bah_xsd
It creates bah_validation_results.xml output file for results of message header schema validation.
- doc_ext
It creates doc_validation_results.xml output file for results of message body extended validation.
- doc_xsd
It creates doc_validation_results.xml output file for results of message body schema validation.
- FAILURE
- Fail Node:
- STOP
It generates error message setup in the node in case of no validation performed.
- STOP
- Map Nodes:
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
-
In Design Server, create a package
t2_rtgs_mx_validation that contains the input files and one flow
t2_rtgs_validation_flow. The maps will automatically be included during
deployment of the package onto the runtime server.
Note: Not required for running flows on Design Server user interface directly.