Skip to content

Wireframe

jensjager edited this page Nov 18, 2024 · 5 revisions

Step 1: Create the Process Definition

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.

Step 2: Run the Command

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.

Step 3: Generated Output

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.

Option for Graphical Representation

Upload the output to bpmn.io.

Clone this wiki locally