Utility - exportAudit
Utility - exportAudit
Description :
This command exports an Audit Job to a file. You can save the Audit Job in HTML or CSV format. You must identify the component template that forms the basis of the audit.
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 Audit Job. |
templateName | String | Name of the component template specifying the Audit Job results to be exported. |
jobGroupName | String | Fully qualified job group where the Audit Job is stored. |
jobName | String | Name of the Audit Job to export. |
exportFileName | String | Name of the file that holds the export. |
exportType | String | Format for saving exported results (CSV or HTML). |
Example
The following example shows how to export the latest job run result of an Audit Job.
Script
Utility exportAudit "/sampleTemplateGroup" "sampleTemplate" "/sampleJobGroup" "sampleJob" "C:/temp/sampleJobResult.csv" "CSV"