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

External Task Retries are set to 0, when a invalid request body is submitted

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. deploy a process that contains an external task
      2. start an instance of that process
      3. set external task retries by executing the following request (see [1]):
        PUT /external-task/{id}/retries
        {
          "retries": null
        }
        

      Observed behavior:

      • The retries are set to 0.
      • An incident is created.
      • The response status code is 204.

      Expected behavior:

      • The number of retries is checked, when it is set to null, then a "Bad Request" (status code 400) is returned.

      So that:

      • The retries are not changed.
      • No incident is created.

      Edit:
      The same is valid for "Set Retries For Multiple External Tasks Sync/Async" [2] and [3].

      [1]: https://docs.camunda.org/manual/7.9/reference/rest/external-task/put-retries/
      [2]: https://docs.camunda.org/manual/develop/reference/rest/external-task/put-retries-sync/
      [3]: https://docs.camunda.org/manual/develop/reference/rest/external-task/post-retries-async

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              yana.vasileva Yana Vasileva
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce