How to run the example

This CHAPS L4L MX Validation will use the sample files to demonstrate the generation of validation report as output from a CHAPS L4L 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 CHAPS L4L messages as per schema list indicated above.
  1. Import the chaps_l4l_flow.zip project into the Design Server.
  2. Open the chaps_l4l_flow project in Design Server and view the flow chaps_l4l_validation_flow.
    1. 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=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8056_head112_camt052
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8906_camt_052_001_08
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8055_head112_camt053
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8905_camt_053_001_08
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8051_head112_camt054_ca
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8901_camt_054_001_08_ca
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8052_head112_camt054_cld
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8902_camt_054_001_08_cld
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8053_head112_camt054_cli
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8903_camt_054_001_08_cli
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8054_head112_camt054_lpa
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8904_camt_054_001_08_lpa
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_enh/chlf8060_head112_camt060
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_camt_validation_flw_enh/chlf8909_camt_060_001_05
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_enh/chlf8057_head112_pacs_002
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_flw_enh/chlf8907_pacs_002_001_10
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_enh/chlf8058_head112_pacs_008
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_flw_enh/chlf8908_pacs_008_001_08
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_enh/chlf8059_head112_pacs_004
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_flw_enh/chlf8910_pacs_004_001_09
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_enh/chlf8061_head112_pacs_009_core
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_flw_enh/chlf8911_pacs_009_001_08_core
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_enh/chlf8062_head112_pacs_009_cov
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_pacs_validation_flw_enh/chlf8912_pacs_009_001_08_cov
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_mirs_validation_enh/chlf8401_head112_mirs095
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_mirs_validation_flw_enh/chlf8913_mirs_095_001_01
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_admi_validation_enh/chlf8601_head112_admi004_fqsm
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_admi_validation_enh/chlf8501_admi_004_001_02_fqsm
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_admi_validation_enh/chlf8602_head112_admi004_rsr
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_admi_validation_enh/chlf8502_admi_004_001_02_rsr
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8087_bah_camt_052_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8088_bah_camt_053_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8081_bah_camt_054_ca_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8082_bah_camt_054_cld_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8083_bah_camt_054_cli_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8084_bah_camt_054_lpa_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8089_bah_camt_060_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8085_bah_pacs_002_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8091_bah_pacs_004_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8086_bah_pacs_008_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8092_bah_pacs_009_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8093_bah_pacs_009_cov_set
      • @packagemap=chaps_l4l/validation/mx_extended/maps/chaps_l4l_mx_serialize/chlf8090_bah_mirs_095_set
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8201_camt_054_001_08_ca
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8202_camt_054_001_08_cld
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8203_camt_054_001_08_cli
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8204_camt_054_001_08_lpa
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8205_camt_053_001_08
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8206_camt_052_001_08
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8207_pacs_002_001_10
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8208_pacs_008_001_08
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8209_camt_060_001_05
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8210_pacs_004_001_09
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8211_pacs_009_001_08_core
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8212_pacs_009_001_08_cov
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8213_mirs_095_001_01
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8214_admi_004_001_02_fqsm
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8215_admi_004_001_02_rsr
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8251_head112_camt054_ca
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8252_head112_camt054_cld
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8253_head112_camt054_cli
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8254_head112_camt054_lpa
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8255_head112_camt053
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8256_head112_camt052
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8257_head112_pacs_002_001_10
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8258_head112_pacs_008_001_08
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8259_head112_camt060
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8260_head112_pacs004
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8261_head112_pacs009_core
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8262_head112_pacs009_cov
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8263_head112_mirs095
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8264_head112_admi004_fqsm
      • @packagemap=chaps_l4l/validation/schema_only/maps/chaps_l4l_mx_schema_validation_xsd/chlf8265_head112_admi004_rsr
    2. It utilizes the following nodes:
      1. Map Nodes:
        • MX pre-check

          Runs map mxut1002_bizsvc_chaps which set flow variables, check pre-validation conditions and create infoset.json for validation.

        • MX de envelope

          Runs map chlf8900_deenvelope which separates header and document portions for messages.

        • set BAH

          Runs map chlf8080_bah_router which sets the different header variables to be used during extended validation for the respective messages as needed.

        • BAH EXT-VAL

          Runs map chlf8701_chaps_l4l_bah_val which calls the appropriate map to performs extended validation on the header of a CHAPS L4L message.

        • BAH XSD-VAL

          Runs map chlf8801_chaps_l4l_bah_val which calls the appropriate map to performs schema validation on the header of a CHAPS L4L message.

        • DOC EXT-VAL

          Runs map chlf8702_chaps_l4l_doc_val which calls the appropriate map to performs extended validation on the body of a CHAPS L4L message.

        • DOC XSD-VAL

          Runs map chlf8802_chaps_l4l_doc_val which calls the appropriate map to performs schema validation on the body of a CHAPS L4L message.

          Note: The maps chlf8080_bah_router, chlf8701_chaps_l4l_bah_val, chlf8702_chaps_l4l_doc_val, chlf8801_chaps_l4l_bah_val and chlf8802_chaps_l4l_doc_val internally call all the other maps identified in the above Flow Description step.
      2. Decision Nodes:
        • pre-valid chk

          This node checks the flow variable stopTranslation to decide if further processing is required.

      3. 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.

      4. 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.

      5. Fail Node:
        • STOP

          It generates error message setup in the node in case of no validation performed.

  3. In Design Server, create a package chaps_l4l_mx_validation that contains the input files and one flow chaps_l4l_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.