You can create a criterion in a profile
-
Right-click a metaclass and select in the contextual menu.
A new criterion is created with a default name.
-
Modify the default name in the Name box, and type a condition in Condition box. You can use any valid expression used by the .if macro (see .if Macro).

-
Click Apply to save your changes.