This program analyzes BPMN processes and extracts information about the process and its tasks.
To use this program, you have to build fat jar with make build
command. Then execute it:
java -jar build/libs/bpmn-analyzer-0.0.1-SNAPSHOT-all.jar -p [process_file]
This will read the contents of the specified file and extract information about the process and its tasks. The resulting JSON string is printed to the console.
The program supports the following options:
-p: Specify the name of the BPMN process file to be analyzed
-h: Display a help message and exit.
A more convenient way is to run docker image and pass a BPMN file to STDIN:
cat [process_file] | docker run -i dddpaul/bpmn-analyzer
To pretty output use jq
:
cat [process_file] | docker run -i dddpaul/bpmn-analyzer | jq .