Built-in Automation Validator plugins
| Name | Apply at | Parameters | Description | Restriction |
|---|---|---|---|---|
|
ContainsFolder |
Post |
Folder name |
Valid when the node path contains a folder name. The value of the parameter folder name is test. Node with path /okm:root/folder1 triggered the event. The folder /okm:root/folder1/test exists, then the validation result is valid. The value of the parameter folder name is test. Node with path /okm:root/folder1 triggered the event. A folder /okm:root/folder1/test doesn't exist, so the validation result is not valid. |
Only applicable to folders and records. |
|
HasCategory |
Post | |||
|
HasKeyword |
Post | Keyword name | Valid when the node path has a keyword with the same name assigned. | Applicable to all node types. |
|
HasPropertyGroup |
Post | Metadata group name | Valid when the node path has a metadata group with the same name assigned. | Applicable to all node types. |
|
HasPropertyGroupValue |
Post |
Metadata field name Metadata field value |
Valid when the node path has a metadata group field with the same value assigned. | Applicable to all node types. |
|
IsCreatedFromTemplate |
Pre, Post |
Valid when the node has been created from a template. |
Only applicable to documents, folders, and records. |
|
|
IsNotCreatedFromTemplate |
Pre, Post |
Valid when the node has NOT been created from a template. |
Only applicable to documents, folders, and records. |
|
|
NameContains |
Post |
Name |
Valid when the node name contains the name value. The value of the parameter name is test. Node with path /okm:root/folder/sometest triggered the event. Folder sometest contains the value test, then the validation result is valid. The value of the parameter name is test. Node with path /okm:root/folder/somefolder triggered the event. Folder somefolder does not contain the value test, then the validation result is not valid. |
Applicable to all node types. |
|
NameMatches |
Pre, Post |
Regex |
Valid when the node name matches the value. |
Applicable to all node types. |
|
PathContains |
Post |
Path |
Valid when the node path starts with a path. The value of the parameter path is /okm:root/folder1. Node with path /okm:root/folder1/test/temporary triggered the event. /okm:root/folder1/test/temporary starts with path /okm:root/folder1, then the validation result is valid. The value of the parameter path is /okm:root/folder1. Node with path /okm:root/test/temporary triggered the event. /okm:root/test/temporary does not start with path /okm:root/folder1, then the validation result is not valid. |
Applicable to all node types. |
|
PathContainsFolderName |
Pre, Post |
Folder name |
Valid when the node path contains a folder name. The value of the parameter folder name is folder1. Node with path /okm:root/folder1/test/temporary triggered the event. /okm:root/folder1/test/temporary contains a folder named folder1, then the validation result is valid. The value of the parameter folder name is folder1. Node with path /okm:root/test/temporary/folder1 triggered the event. /okm:root/test/temporary/folder1 contains a folder named folder1, then the validation return is valid. The value of the parameter folder name is folder1. Node with path /okm:root/test/temporary triggered the event. /okm:root/test/temporary does not contain a folder named folder1, then the validation result is not valid. |
Only applicable to folders and records. |
|
ParentPathContainsFolderName |
Pre, Post |
Folder name |
Valid when the node parent path contains a folder name. The value of the parameter folder name is folder1. Node with path /okm:root/folder1/test/temporary triggered the event. The parent path is /okm:root/parent-folder; therefore, the validation result is valid. The value of the parameter folder name is folder1. Node with path: /okm:root/folder2/parent-folder/folder1 triggered the event. The parent path is /okm:root/folder2/parent-folder. Within this path, there is a folder called "folder1"; therefore, the validation result is valid. The value of the parameter folder name is folder1. Node with path: /okm:root/parent-folder/another-folder/folder1/test triggered the event. The parent path is /okm:root/parent-folder/another-folder. Within this path, there does not exist a folder named "folder1"; therefore, the validation result is invalid. The value of the parameter folder name is folder1. Node with path: /okm:root/parent-folder/temporary triggered the event. The parent path is /okm:root/parent-folder. Within this path, there does not exist a folder named "folder1"; therefore, the validation result is invalid. |
Only applicable to folders and records. |
|
UserHasRole |
Pre, Post |
Role name |
Valid when the user has the role assigned. |
Applicable to all node types. |