Utility - exportJSONComponentTemplateDetails
Utility - exportJSONComponentTemplateDetails
Description :
This command exports the JSON file which contains details about the component template and rules along with the expression in it.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
runId | Integer | ID of the Compliance Job run whose results you want to export. |
exportDirectory | String | Name of the directory that holds the export. |
Example
The following example shows how to export the selected job run result of a Compliance Job.
Script
JOB_GROUP="/sampleJobGroup"
JOB_NAME="sampleJob"
JOB_DB_KEY=`blcli ComplianceJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`
JOB_RUN_KEY=`blcli JobRun findAllRunKeysByJobKey $JOB_DB_KEY`
JOB_RUN_ID=`blcli JobRun jobRunKeyToJobRunId $JOB_RUN_KEY`
JSON_TEMPLATE_EXPORT=`blcli Utility exportJSONComponentTemplateDetails $JOB_RUN_ID "//hostname/c/reports"`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Need to mention how to get Runid and exportFileName to be changed to exportDirectory.
All issues addressed. Thanks, Vipin.
Log in or register to comment.