Skip to content

TaskStatus

Manuel Reimitz edited this page Mar 26, 2018 · 1 revision

Command to get the current status of a specific Task

Parameter

  1. p1 : "[server]:[port]" servername and port of the current qccl.qmsservice
  2. p2 : "[taskname]" name of the specific task
LET vCurTask = '$(v.ph.taskname)';
call qccl.qmsapi.TaskStatus('$(vService)', vCurTask);
if qccl.qmsapi.TaskStatus.Result.Error = 1 then
	// #CMT# Handle Error Message
	// qccl.qmsapi.TaskStatus.Result.Error
	// qccl.qmsapi.TaskStatus.Result.Error.Message
else
	// #CMT# Work with Result
end if;

Clone this wiki locally