I'd like to define a default filter value for a field. This value depends on a selected row in a table.
Is therefor aa possibility in the software factory? I'm working with the installation 2021.3
Thanks in advance
I'd like to define a default filter value for a field. This value depends on a selected row in a table.
Is therefor aa possibility in the software factory? I'm working with the installation 2021.3
Thanks in advance
Best answer by Erwin Ekkel
This how I did it (there’s probably more ways to achieve this):
I created a table with two columns username, filter value. On executing the task the current row value is written to the table with the current user_id. If you want to use this concept on multiple tables then you should addd tablename to the filter table. The basic flow looks like this:
In the Task I set the value to the filter table(I did an update since the value already exists but for your code a delete and insert would work):
Then in the preftiler I use query with the filtervalue from the filtertable, for the current user.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.