A functional limitation exists in Aria Automation Service Broker where the policy engine only supports "has any" for tag criteria, lacking "eq" or "not eq" operators. For example you cannot configure a lease policy to exclude certain machines based on tagging eg 'DoNotDelete'.
This requires a two policy approach
Policy A (Exemption): Create a HARD enforcement policy with high priority. Set criteria to Tags -> has any -> DoNotDelete. Set the lease period to the maximum (32,767 days).
Policy B (Standard): Create a SOFT enforcement policy with lower priority. Apply this organization-wide with the customer's desired limits (7/28/7 days).
When implementing this configuration it is found that already tagged machines are correctly picked up by the Exemption policy.
However new machines tagged with the exemption tag via a day 2 operation are not picked up by the lease policy.
Environment
Aria Automation 8.18.x
Cause
The issue occurrs due to a code defect.
Resolution
The issue is resolved in Aria Automation 8.18.1 patch 6