Requirement: User should define a process in a custom DSL file.
Input Example (MyProcess.txt):
# Start Event # Middle Event . End Event
Explanation: The user describes the business process in a plain-text format that adheres to the custom DSL rules.
Requirement: The user should be able to execute the command in a terminal to process the input file.
Command Example:
./bpmn-parser MyProcess.txt
Explanation: The user passes the .txt file as a parameter when running the parser script in a Linux terminal.
Requirement: The script should generate a .bpmn file representing the process.
Output Example (MyProcess.bpmn):
<bpmn:definitions> <bpmn:process id="Process_1" isExecutable="false"> <bpmn:startEvent id="StartEvent" /> <bpmn:task id="MiddleEvent" /> <bpmn:endEvent id="EndEvent" /> </bpmn:process> </bpmn:definitions>
Explanation: The output file is a BPMN-compliant XML file that contains the elements defined in the custom DSL.
Upload the output to bpmn.io.
There was an error while loading. Please reload this page.