AO - exportApprovalActivityLogs
AO - exportApprovalActivityLogs
Description :
This command exports the change activity log for a given schedule ID to a file. You can save the result in HTML or CSV format.
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
scheduleId | Integer | ID of a schedule Tip: To obtain a schedule ID, you can use the Schedule-findScheduleIdsByJobKey command. |
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 Change Activity logs of a schedule.
Script
AO exportApprovalActivityLogs "2" "C:/temp/ChangeActivityLogs.csv" "CSV"
AO exportApprovalActivityLogs "2" "C:/temp/ChangeActivityLogs.htm" "HTML"
AO exportApprovalActivityLogs "2" "C:/temp/ChangeActivityLogs.htm" "HTML"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*