-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
Component
https://github.com/camunda/camunda-external-task-client-java
User story
- When using the Java external task client, I want to create a subscription with a filter by process variables. This enables to set up multiple clients for the same topic that do not compete for the same tasks.
Background
- We have already the REST API parameter to filter this. However, this option is not yet exposed in the client's java API
Acceptance Criteria
- With the TopicSubscriptionBuilder (https://github.com/camunda/camunda-external-task-client-java/blob/master/client/src/main/java/org/camunda/bpm/client/topic/TopicSubscriptionBuilder.java), I can specifiy process variables to filter by when requesting tasks.
- This uses the processVariables parameter of a topic subscription when it calls the process engine REST API (https://docs.camunda.org/manual/7.13/reference/rest/external-task/fetch/#request-body)