question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Error catch events without error code (catch-all Error events)

See original GitHub issue

Problem you would like to solve

With https://github.com/camunda/zeebe/issues/11126, Zeebe now supports Error catch events without an error code.

This enables users to model a specific response for a known escalation code, and a general response for unknown escalation codes.

Currently, Error catch events without error codes are not supported in the Modeler for Camunda 8 BPMN diagrams.

image

Proposed solution

  • The Modeler allows the creation of Error catch all events without explicitly referencing a specific error, in two ways:
    • ErrorEventDefinition#errorRef is optional
    • Error#errorCode is optional
  • Support for global errors is validated for Camunda 8.2

Alternatives considered

/

Additional context

In Zeebe, the feature will be available with version 8.2.0-alpha3.

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nikkucommented, Dec 15, 2022

@koevskinikola You can attach by renaming to diagram.bpmn.txt.

Thanks for sharing the diagram. It is now clear to me that errorRef is optional, but also errorCode can be optional.

0reactions
nikkucommented, Dec 15, 2022

Moving to ready to potentially pick up this alignment topic in the next iteration(s).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Catching errors by using error boundary events - IBM
Select the error boundary event and, on the Implementation tab, under Error Properties, select Catch all errors or Catch specific errors to specify...
Read more >
Everything you wanted to know about exceptions - PowerShell
An Exception is like an event that is created when normal error handling can't deal with the issue. Trying to divide a number...
Read more >
How to Catch All Exceptions in C# & Find All Application Errors
Find all application errors. Catch all exceptions in your application with a C# global exception handler and other exception handling ...
Read more >
How to Handle Exceptions in JavaScript - Rollbar
In a browser-based application, a global onError event handler is available that can be used as a global catchall for any errors that...
Read more >
Does addEventListener(ErrorEvent.ERROR, handler) handle ...
An object that dispatches an uncaughtError event when an unhandled error occurs in code in this LoaderInfo object's SWF file. An uncaught error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found