For all Entity selector-based tagging rules, Dynatrace doesn’t support placeholders, regardless of whether the matched entities are VMware entities, Custom Devices, Hosts, Services, or Process Groups.
I assume you want to tag with the entity name and not a static value. You can do this using placeholders but for the rule use regex.
The only issue with this is it would apply the tag according to what the regex grabs. It really depends on if you have any kind of naming convention in your environment or not. Or you can just simply put a generic automatic tag, something called: Device_Name or something that would apply to all Custom Devices (Which all those entity types are).
Here’s an example how to apply to every CUSTOM_DEVICE its entity name:
Thank you @sujit_k_singh and @JoãoSilva for taking the time to provide suggestions. We use a workflow to apply the manual tags; it runs daily to process any newly discovered VMware entities.