SmartPatchCatalogGroup - createGroup
SmartPatchCatalogGroup - createGroup
Description :
This command creates a Smart Patch Catalog Group with one condition. When you add a new condition, you must specify its operator type.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
catalogPath | String | Fully qualified path to the catalog. |
catalogTypeString | String | String representation of parent catalog group. |
groupName | String | Name of the smart group you want to create. |
groupDescription | String | Description of the smart group you want to create. |
groupTypeString | String | String representation of smart catalog group. |
filterClassName | String | Fully qualified path to the object type filter. |
propName | String | Property name to be used in the smart group condition. |
operator | String | Operator string to be used in the smart group condition. |
propValue | String | Property value to be used in the smart group condition. |
Example
The following example shows how to create a smart group called Old Patches in the catalog of Hotfixes with a condition of DATE_POSTED greater than 120 days.
Script