Skip to main content

I received the question if it is possible to change some default values when opening the rental workbench page. The reason is that some users should only see Purchase order rental type and others can see all rental types. We want to ensure that users cannot make a mistake by selecting the wrong value.

I have been able to add default values in different screens with the help of workflows.
However on this page, nothing seems to work.

I would like to automatically fill in the filter ID or change the toggle value of some rental types to false.

If this works, then i can hide the toggle buttons in the page designer, based on the filter ID.

 

In the workflow i use the following:

Any idea if i’m doing something wrong or if this is just not possible?
I think it might not work because i need to change the values from EMPTY_RENTAL_WORKBENCH_FILTER?

Could be wrong, but I don’t think you can use a workflow to change this because it doesn’t set the filter (or the toggles) from a default() call

 

The behavior seems to be that it first loads the page with a hardcoded empty filter (no default() call is made to populate the filter field), and then it seems like it reads from RentalWorkbenchFilterSet and there’s probably some projection work that defaults all values to true when no filter ID is pased :

 

 

Interested to know if someone else has a solution for this.


Reply