- 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.
- We have already the REST API parameter to filter this. However, this option is not yet exposed in the client's java API
- 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)