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

Fetch and lock an external task by business key doesn't work properly

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.10.0, 7.9.6, 7.10.0-alpha5
    • None
    • engine
    • None

      Scenario:

      When the business key is set for first topic and it's not for the second. For example:

          List<LockedExternalTask> topicTasks = externalTaskService
              .fetchAndLock(maxTasks, workerId)
              .topic(topicName1, lockDuration)
                .businessKey(businessKey1)
              .topic(topicName2, lockDuration)
              .execute();
      

      Expected:
      Fetching the external tasks for both topics.

      Current:
      Only the tasks from the first topic are returned, the others are disregarded.

      Hint:

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: