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. For example, deploy to c:\ftpserver\deployment directory.
  3. Execute the flow using the flow command server. In below example, command is for SWIFT message MT192.inp.
    flowcmdserver.exe --dir c:\ftpserver\deployment\flows --flow cbpr_mtn92_camt056.json
    --var "INPUT_FILE=C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\MT192.inp"
    --var "AUDIT_LOG=C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\camt_056_001_08_log.json"
    --var "OUTPUT_DOC_RESULT_XML=C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\camt_056_001_08.xml"
    --audit "C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\cbpr_mtn92_camt056_adt.json"
    -ad
  4. 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\\cbpr_plus\\translation\\mt-mx\\data\\cbpr_mtn92_camt056_adt.json"
    	  Flow completed successfully
    	  Elapsed time: 3048ms
    
  5. Examine the flow output result file cbpr_mt192_camt056.out and the audit file cbpr_mtn92_camt056_adt.json.