Variable filtering in tasklist

Greetings!

I am in urge need of filtering tasks by process variables.
Please help me overcome the issue.

Maybe it is possible to hard-code variable filtering for the filter in a database?
I found a table “act_ru_filter” and added this to query_text:
{"processVariableValueEquals": ["eventIsNew", true]}
but it didnt work.

I know I can add search by variable, but it isnt what I need as those will not be available for other users.

Please, how can I add variable value search to a filter? Any help is strongly appreciated as the project future depends on this.

If you are doing this with the tasklist web app, then it is best if you create a “filter”. Filters can filter by process variables.

Hello, Stephen!

I cannot see those in the list of criteria.
This is all I have:

Maybe it is in the latest version?
Im on 7.8.0

Oh sorry was thinking about the variables feature which shows the variable values.

Anyone else?

How many variations do you have?
You could create a listener to set candidate groups for the different combinations. And then use that as a filter inside of tasklist

Hey, that sounds like a nice hack!
I was trying to do it with business key, but looks like it cant be changed with execution.setBusinessKey twice.

I’ll try to implement it with different groups, seems like nothing stops me from that.

Thanks in advance!

Business key can only be set as the process instance starts. Once the instance starts, you cannot set the business key