Skip to main content

We’ve built some prefilters that only function if certain prerequisites are filled, we’ve arranged that these prerequisites are filled in a process flow (triggered by a task) and eventually that prefilter will be toggled using the change prefilters process step.

That all works great! however our user can also see the prefilter and click on it on their own, that’s unfortunate since it won’t work when the user does that. is there a way to hide it from user selection without disabling it for the process flow?

Hi Selby, is it possible to store the fact that this prerequisite has been met with the case at hand in the data?

You could have a hidden, always activated prefilter with a query that basically does not do any filtering when the prerequisite is not yet met and only applies the filtering when the prerequisite is met. (pseudo):

exists(
select 1
from subject s
where s.subject_id = t1.subject_id
and s.prerequisite_met = 0)
or (
t1.actual_conditions_for_filtering
)

 


@Anne Buit That will work great, thanks for the recommendation!