flowable / flowable/flowable-engine

Support for throwing a BPMN Error from a decision task

Open
#3,088 0 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

Hello,

**Is your feature request related to a problem? Please describe.**

My needs are descibed by this forum topic : https://forum.flowable.org/t/thow-a-bpmnerror-from-a-decision-task/8563

**Describe the solution you'd like**

Two solutions are suggested by @yvoswillens :
* provide the options to specify if a BPMN Error (and with what code) or a Java exception should be thrown when there are no hits.
* or to provide the same exception mapping mechanism that is available on service tasks

**Describe alternatives you've considered**

For now, to handle my needs, I modified my decision table.
I added an output column with a list of error codes as output values.
And some matching rules to make sure at least a hit is reached.

![image](https://user-images.githubusercontent.com/17588407/138830142-bfd0b2d5-9266-495d-b19c-66ec088b9507.png)

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.