Utility - simpleExportComplianceRunLatest
Utility - simpleExportComplianceRunLatest
Description :
This command exports the latest Compliance Job run result to a file and gives you more control over the resulting output than other similar commands. The result is saved in a CSV format.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
templateGroupName | String | Fully qualified component template group containing the template that is the basis of the Compliance Job. Alternatively, you can pass in null for all results. |
templateName | String | Name of the component template specifying the Compliance Job results to be exported. Alternatively, you can pass in null for all results. |
ruleName | String | Fully qualified path of the rule of the Compliance Job results to be exported. Alternatively, you can pass in null for all results. |
jobGroupName | String | Fully qualified job group where the Compliance Job is stored. |
jobName | String | Name of the Compliance Job to export. |
exportFileName | String | Name of the file that holds the export. |
Example
The following example shows how to export the latest job run result of a Compliance Job.
Script
Utility simpleExportComplianceRunLatest "/sampleTemplateGroup" "sampleTemplate" "/sampleRuleGroup/sampleRule" "/sampleJobGroup" "sampleJob" "C:/temp/sampleJobResult.csv"