-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
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:
- With the current implementation the business key of the second topic is set to null.
https://github.com/camunda/camunda-bpm-platform/blob/082bc6080d50068a0308b41e278d2b3e11ae645f/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/ExternalTask.xml#L186
parameter.businessKeyFilter should be replaced by topicFilters.businessKey - The implementation could be simplified and filterBybusinessKey could be removed.
This is the controller panel for Smart Panels app
[CAM-9408] Fetch and lock an external task by business key doesn't work properly
Rank | New: Ranked higher |
Rank | New: Ranked higher |
Rank | New: Ranked lower |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Fix Version/s | New: 7.9.6 [ 15339 ] | |
Fix Version/s | Original: 7.9.x [ 15107 ] |
Assignee | Original: Yana Vasileva [ yana.vasileva ] | New: Tassilo Weidner [ tassilo.weidner ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Assignee | Original: Tassilo Weidner [ tassilo.weidner ] | |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 7.10.0-alpha5 [ 15346 ] |
Workflow | Original: camunda BPM [ 53285 ] | New: Backup_camunda BPM [ 64067 ] |