Name
AutoTask – Helper methods for zoom auto tasks
Dependencies
Ensure the Perl SDK is setup.
Synopsis
use AutoTask; my $task_href= AutoTask::getArgs(@autoTaskArgs);
Methods
getArgs
Usage: getArgs(@autoTaskArgs)
Returns a hash map of autotask args.
Usage:
my $task_href = AutoTask::getArgs(@autoTaskArgs);
Autotask Args format:
–taskId taskId –taskName taskName –jobId jobId –jobName jobName –project projectName
–logFile logFilePath [taskPath]+
–taskId taskId –taskName taskName –jobId jobId –jobName jobName –project projectName
–logFile logFilePath [taskPath]+
Output HASH format:
my %outputHash=(taskId => taskId,
taskName => taskName,
jobId => jobId,
jobName => jobName,
project => projectName,
logFile => logFilePath,
files => [taskPaths]);
my %outputHash=(taskId => taskId,
taskName => taskName,
jobId => jobId,
jobName => jobName,
project => projectName,
logFile => logFilePath,
files => [taskPaths]);
getHotFolderArgs
Usage: getHotFolderArgs(@hotFolderArgs)
Returns a hash map of hot folder args. Refer HotFolder Scripting for more details
my $hotfolder_href = AutoTask::getHotFolderArgs(@hotFolderArgs);
Output Hash Format:
my %outputHash = (“serverUrl” => serverURL,
“hotFolderDir” => hotfolderDir,
“project” => project,
“zoomPath” => zoomPath,
“syncTime” => syncTime,
“untouchedTime” => untouchedTime,
“userName” = username);
my %outputHash = (“serverUrl” => serverURL,
“hotFolderDir” => hotfolderDir,
“project” => project,
“zoomPath” => zoomPath,
“syncTime” => syncTime,
“untouchedTime” => untouchedTime,
“userName” = username);