Skip to content

GetTaskByID

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

Command to get a task by its id

Parameter

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

Clone this wiki locally