sartography/SpiffWorkflow

Fix error message for missing start event

fembau opened this issue · 2 comments

fembau commented

In SubprocessParser.get_subprocess_spec the number of start events is checked. The error message "Multiple Start points are not allowed in SubWorkflow Task" should be changed to consider the case of a missing start event. To be more verbose maybe the number of found start events would be helpful to the user to fix the error, p.ex. "A process should have exact one start event. Found in process ."

I've updated the text of this error in main

fembau commented

fixed in 3236b5b