smart inventory based on inventory variable

Hi there, wondering if anyone can point me in the right direction here.

I have a AWX inventory with a variable called “environment”, I want to then create a smart inventory that filters all the inventories which have a variable “environment” which equals “develop”.

I’ve tried some of the following without success, anyone know how to do this?
variables:develop
inventory.variables:develop
inventory.variables.environment:develop

In the meantime, a workaround for me is to put “DEVELOP” in the description of the inventory, then in the smart inventory I can put
inventory.description:DEVELOP

Just wondering if I can search based on inventory variables.

You can’t use smart inventory on inventory variables. Only on fact cache data and other “simple” database fields.

thank you for the confirmation Chris.