Ui action in list view Display even if conditions are not met

Nico12
Mega Sage

Hi,

 

I have a UI action, in list view that should appeared in theses conditions and only in these conditions :

In Stock and available

Nico12_0-1679929199323.png

 

But when i filter in list view even if only the state is entered, the button appears :

 

Nico12_1-1679929294194.png

And even if i choose to filter on another field 

 

Nico12_2-1679929404455.png

 

How i could make the button appear ONLY IF filter is state = in Stock AND substate = available ?

 

Regards,

 

4 REPLIES 4

Kamil Smusz
Kilo Sage

Hi,

 

Try current.install_status==6 (without apostrophe)

You can check field values and field names using right click and "Copy query" button
install_status=6^hardware_substatus=available

KamilSmusz_0-1679931882221.png

 

Hi Kamil,

 

i tried without apostrophe but it did not worked.

 

Regards,

Hi Nico,

 

Are you sure that your second substatus field name is correct? Should it be hardware_substatus ?

Hi Kamil,

 

Yes it is the good field name. The problem come from the list view cause on individual record, the conditions are good.

I think the list banner button on list view need additional condition than in regular form action button. But i don't know wich ones.

 

Regards,