How could I handle runtime errors in Script Tasks? processes seem to always end silently if something goes wrong.
In the following workflow I already registered an "Error Intermediate Event" in a multi-instance-subprocess but that seems not to catch. On error in a script the the sub-process instance just ends and calls the next iteration.
In case the "store review results" script task fails I only see the error in the log
When I view the process instance in the browser (/#BpmnProcess/view/) I only see the workflow definitions but I would expect to see the instance values/variables.
It would be nice to be able to even edit the instance properties as admin to fix hanging processes.
In the following workflow I already registered an "Error Intermediate Event" in a multi-instance-subprocess but that seems not to catch. On error in a script the the sub-process instance just ends and calls the next iteration.
In case the "store review results" script task fails I only see the error in the log
Code:
ERROR: Process 641ae04776bb85c25 formula error: Formula bpm\createdEntity\attribute: Bad argument [] []
When I view the process instance in the browser (/#BpmnProcess/view/) I only see the workflow definitions but I would expect to see the instance values/variables.
It would be nice to be able to even edit the instance properties as admin to fix hanging processes.
Comment