Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14764

In JavaScript External Task Client, I can access engine error codes

    XMLWordPrintable

Details

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                michael.schoettes Michael Schoettes
                tassilo.weidner Tassilo Weidner
                Tassilo Weidner Tassilo Weidner
                Clifton Davies Clifton Davies
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce