flowable / flowable/flowable-engine

No execution context in Script exception in a synchronous process

Open
#2,783 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**Is your feature request related to a problem? Please describe.**
Yes: I start a trivial process with a single synchronous script task that contains a syntax error using
`_processEngine.getRuntimeService().startProcessInstanceByKey(...)`

The call triggers a
FlowableException { cause: ScriptException{cause: MultipleCompilationErrorException{...}}}

None of the exceptions in the stack trace have a reference to the execution that failed, so I cannot provide context for the error.

**Describe the solution you'd like**

It would be useful to have enough information in the exception stack to identify the execution that failed, as well as the task where the error originated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.