Get task & process variables by candidategroup

All,

We have a bunch of tasks assigned to various candidateGroups(Group1, Gorup2, Gorup3) . We have a drop down on our UI showing these candidateGroups . Our requirement is to get the tasks based on the candidateGroup selected by user from dropdown along with some process variables . Since we wanted task + process variables we were looking at creating a custom filter but not sure how we can pass the Candidate Group value dynamically to the filter based on the user selection .Appreciate if any inputs to meet this requirement.

Hello All,

Any suggestions or work arounds . I do see in this post Get task list with variables that we have to write custom queries or native queries . For us most of them are process variables and if we can achieve the requirement just by creating filters that would be optimal without much customization .