General No Entity Selected

Am trying to generalise my constraints for actions which require an entity to be selected.
Stating with the switch user setup.
Is there a tag for a general/any entity?
Previously had '{ENTITY NAME:Tables}' == '' && '{ENTITY NAME:Customer}' == ''
Looking for something like '{ENTITY}' == '' or '{ENTITY:}' == ''
Is there a general expression for is any entity selected?
Looked in ticket templates but all requiring specific entity type…

If not could I request :wink:

Sorry to bump :smile:
@emre any ideas? qmckay suggested to try {ENTITY NAME} but didn’t work for me.

Can you show entire rule with actions expanded?

Am starting here but have other rules with actions constrained relating to entity selection which I would like to generalise.

No Sorry. That’s all we have for now.

Wouldn’t be one of those little things you sneak in would it :stuck_out_tongue:

Not questioning your expertise but isn’t there something in the hard-coding that does the equivalent that prevents ticket close without an entity or tag?

I think he just answered that. There are rule custom constraints but not action constraints.

So {ENTITY NAME} would work to detect any entity if in rule constraint?

Actually I was wrong you still have to define type. It’s just a little extra to type. Can’t be that bad:)

I was just trying to generalise the rule so if new entity type is added or settings exported to another setup with renames entities it would just work :smile: