Solved

Unable to modify prefilters via process flow when "Off hidden"


Userlevel 2
Badge +4

Hi,

It looks like it is impossible to modify the state of prefilters via process flows when these are initially set to “Off hidden”. Because I get a status code of -1 using the process flow monitor, but when the prefilter is initially set to “Off” it works fine.

Is there a workaround for this? Thanks.

icon

Best answer by Erwin Ekkel 2 March 2023, 14:10

View original

This topic has been closed for comments

3 replies

Userlevel 6
Badge +16

This is by design, it's hidden for a reason. You could create 2 variants of the screen and depending on the action show the screen with the prefilter hidden or visible. 

Userlevel 2
Badge +4

But then it would mean that all the prefilters will be hidden when adjusting the screen type. Which is not what I want. 

Why am I doing it this way?
Well, I need a filter form for dates in Universal GUI (which is not supported. Only supports text and numbers). So now I created a task for the user to enter a date for the filter, which will be picked up by the prefilter (activate prefilter using process flow).

Userlevel 6
Badge +16

You can create a variant of the subject and choose which prefilters to have off, on and hidden. No need to change the screen type for that.