CentraSite Documentation : CentraSite Developer’s Guide : Built-In Design/Change-Time Actions Reference : Built-In Actions for Design/Change-Time Policies : Validate Classification
Validate Classification
Checks whether an object is classified by a given taxonomy or taxonomy category. This action examines all classification attributes in the target object.
If you just want to check that the target object has been classified by a given taxonomy, simply specify the taxonomy in the Taxonomies parameter. Leave the Categories parameter empty. The action will succeed if the object is classified by any category in the taxonomy (i.e., the action succeeds if the object includes at least one Classification attribute whose value represents a category that belongs the specified taxonomy).
If you want to check that the target object has been classified by a specific category in a taxonomy, specify the exact category in the Categories parameter. Leave the Taxonomies parameter empty. The action will succeed only if the object has been classified by the exact category you specify (i.e., the object includes at least one Classification attribute whose value is set to that specific category).
If you specify multiple taxonomies and categories in the Taxonomies and Categories parameters, be aware that action will succeeds if the target object is classified according to any taxonomy specified in the Taxonomies parameter or any category specified in the Categories parameter. If you need to verify that an object has been classified by several different taxonomies or categories, you must test for each required taxonomy or category using a separate Validate Classification action.
Event Scope
PreStateChange
PreDelete
OnTrigger
OnConsumerRegistration
Object Scope
This action can be enforced on any object type that the policy engine supports.
Input Parameters
Taxonomies
String Array The names of the taxonomies by which the object must be classified.
Categories
String Array The names of specific taxonomy nodes by which the target object must be classified.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback