How to use custom field in Shopware 5 item url?

@NextMike‍ the usage of an if clause is also acceptable here, isn’t it?