Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BpmnError in Script IOMapping isn't handled #2098

Open
ThorbenLindhauer opened this issue May 11, 2015 · 2 comments
Open

BpmnError in Script IOMapping isn't handled #2098

ThorbenLindhauer opened this issue May 11, 2015 · 2 comments
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:bug Issues that describe a user-facing bug in the project.

Comments

@ThorbenLindhauer
Copy link
Member

This issue was imported from JIRA:

Field Value
JIRA Link CAM-3864
Reporter jOwzX7v
What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.
Has restricted visibility comments false

If a BpmnError is thrown in a script which is used as input/output mapping the error isn't handled correctly.

See failing test cases:
aed920a

Links:

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user LaY5wB0

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Would be great to get this fixed. Has been open a long time and would open up lots of usage opportunities if it were fixed.

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user xprlONL

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hello,

This issue has come up again in support ticket SUPPORT-7861:

https://jira.camunda.com/browse/SUPPORT-7861

The customer states the following:

"Lastly, we would also like to cover in a similar manner any exception that can be thrown in input/output (+variables in call activities) expressions.  I have tried a few approaches but I was not successful in making them trigger the error start flow."

I have tested this and can confirm that the engine treats the following in-line script as a ScriptEvaluationException when defined in an Input/Output:

throw new org.camunda.bpm.engine.delegate.BpmnError("IT_EXCEPTION","exception message"); 

Thanks,

Ryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:bug Issues that describe a user-facing bug in the project.
Projects
None yet
Development

No branches or pull requests

1 participant