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).
- 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.
- In Design Server, deploy the created package to the server definition.
-
Execute the flow using the flow command server:
flowcmdserver.exe --dir c:\ftpserver\deployment\flows --flow cbpr_mt205cov_pacs009cov.json --input "1;FILE;C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\MT205_COV.inp" --output "1;FILE;C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\pacs.009.001.08.xml" --output "2;FILE;C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\MT205_COV_log.json" --audit "C:\ftpserver\deployment\cbpr_plus\translation\mt-mx\data\MT205_COV_pacs_009_valid_adt.json" -ad
-
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\\MT205_COV_pacs_009_valid_adt.json" Flow completed successfully Elapsed time: 3048ms
- Examine the flow output result file MT205_COV_pacs_009_valid.out and the audit file MT205_COV_pacs_009_valid_adt.json.