Commit cd97b109 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Detect process with start symbol but no transition

parent 6a69775b
......@@ -2892,7 +2892,8 @@ def process_definition(root, parent=None, context=None):
err, warn = procedure_post(proc, content, context=process)
if not process.referenced and not process.content.start:
if not process.referenced and (not process.content.start or
not process.content.start.terminators):
# detect missing START transition
errors.append(['Mandatory START transition is missing in process',
[process.pos_x, process.pos_y], []])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment