Run the example using the flow command server process (flowcmdserver)

To run the example, deploy locally or to ftp server and use the flow command server process (flowcmdserver).

  1. Create a server definition where the runtime is installed, if you do not have a server local definition or ftp execution definition to deploy to, in Design Server.
  2. In Design Server, deploy the created package to the server definition.
  3. Execute the flow using the flow command server. The below command is for SWIFT UC swuc_trck_001_uc.xml message.
    flowcmdserver.exe --dir c:\ftpserver\deployment\flows --flow swift_uc_validation_flow.json
          --input "1;FILE;C:\ftpserver\deployment\tools\mx_service\data\swuc_trck_001_uc.xml"
          --audit "C:\ftpserver\deployment\tools\mx_service\data\swuc_trck_001_uc_adt.json" -ad
    The results will be in C:\ftpserver\deployment\flows as bah_validation_results.xml and doc_validation_results.xml
  4. Use the below command to execute with the variable valType value defined in the Flow settings in Design Server ('extended' or 'schema').
    flowcmdserver.exe --dir c:\ftpserver\deployment\flows --flow swift_uc_validation_flow.json
          --input "1;FILE;C:\ftpserver\deployment\tools\mx_service\data\swuc_trck_001_uc.xml"
          --var "valType=extended"
          --audit "C:\ftpserver\deployment\tools\mx_service\data\swuc_trck_001_uc_adt.json" -ad
  5. The flow will report status similar to:
    ***Starting flow command server
    
    	  Flow UUID:      85eabe2c-2302-4543-b347-9e18d65c6816
    	  The flow audit file is:         "C:\\ftpserver\\deployment\\tools\\mx_service\\data\\swuc_trck_001_uc_adt.json"
    	  Flow completed successfully
    	  Elapsed time: 3048ms
    
  6. Examine the flow output result files bah_validation_results.xml, doc_validation_results.xml and the audit file swuc_trck_001_uc_adt.json.