-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
User Story (Required on creation):
In the JavaScript External Task Client, I can access the exception code introduced with CAM-14083.
Functional Requirements (Required before implementation):
All External Task operations (complete, lock, unlock, set variables, handle failures, handle bpmn error, extend lock) triggered in the client can lead to errors that should contain the exception code provided by the process engine.
Technical Requirements (Required before implementation):
- The API methods defined in TaskService trigger Engine REST API endpoints; when an operation fails, each method emits an error event. The engine's code [1] should be accessible when subscribing to these events.
- The exception code (as well as the type, message, and HTTP status code) can conveniently be accessed from the JavaScript Error that is passed when subscribing to the respective event.
- The feature is tested.
- Docs exist.
Limitations of Scope (Optional):
-
Hints (optional):
-
[1] https://stage.docs.camunda.org/manual/develop/reference/rest/overview/#exception-codes