ComponentException - createComponentExceptionWithOneRule_1
ComponentException - createComponentExceptionWithOneRule
Description :
This command creates a compliance exception with one rule and sets it on a component. The DB Key of the component is returned.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
componentKey | DBKey | DBKey of the component. |
Name | String | Name of the exception. |
Description | String | Description of the exception. |
RuleReferenceNumber | String | Reference number of the exception. |
Role | String | RBAC role of user. |
User | String | RBAC user name. |
Comment | String | A comment about the exception. |
templateGroupName | String | Fully qualified template group name. |
templateName | String | Name of the template. |
ruleName | String | Fully qualified name of the rule. |
Example
The following example script assumes that the component DBKey is available.
Script
blcli ComponentException createComponentExceptionWithOneRule $componentKey$
$Name$ $Description$ $ruleReferenceNumber$ $Role$ $User$ $Comment$
$templateGroupName$ $templateName$ $ruleName$
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.