datasharingframework / dsf

A distributed process engine based on the BPMN 2.0 and FHIR R4 standards
https://dsf.dev
Apache License 2.0
13 stars 7 forks source link

Evaluate Stopping Process in DefaultUserTaskListener via Thrown Exception #240

Open hhund opened 1 month ago

hhund commented 1 month ago

If errors are thrown during QuestionnaireResponse creation, the DefaultUserTaskListener stops the current process by deleting the process instance via a RuntimeService call. We should evaluate if stopping the process by throwing a BpmnError may be advantageous.