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.

NameStringName of the exception.
DescriptionStringDescription of the exception.
RuleReferenceNumberStringReference number of the exception.
RoleStringRBAC role of user.
UserStringRBAC user name.
CommentStringA comment about the exception.
templateGroupNameStringFully qualified template group name.
templateNameStringName of the template.
ruleNameStringFully 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