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

Allow to lock a certain external task by id

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.15.0-alpha3, 7.15.0
    • None
    • None
    • None

      AT:

      • It is possible to lock a certain external task (identified by id) for a workerId
      • In Java API and REST API
      • Java External Task Client

      Background:

      • Currently it is not possible to define any filters when doing fetchAndLock. The simplest workaround is to do an external-task query (existing) and then lock the tasks you are interested in one by one yourself.

        This is the controller panel for Smart Panels app

            [CAM-7170] Allow to lock a certain external task by id

            Claude Dumas added a comment - - edited

            Fully agree with that request. Sometimes we need to get the tasks and then decide thereafter which ones we want to lock, according to processing made on the task data. We need a way to separate the Fetch from the Lock.
            I propose to implement a Lock API (there is already an Unlock API !). It must of course handles gracefully the case where multiple Lock requests are made at the same time for the same task.

            Claude Dumas added a comment - - edited Fully agree with that request. Sometimes we need to get the tasks and then decide thereafter which ones we want to lock, according to processing made on the task data. We need a way to separate the Fetch from the Lock. I propose to implement a Lock API (there is already an Unlock API !). It must of course handles gracefully the case where multiple Lock requests are made at the same time for the same task.

              martin.stamm Martin Stamm
              ruecker Bernd Ruecker
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: