|NAME||ROR TASK LIST|
|RETURN VALUE TYPE||GLOBAL ARRAY|
|WORD WRAP ON||TRUE|
The ROR TASK LIST remote procedure returns a list of user's tasks scheduled from the GUI.
|RETURN PARAMETER DESCRIPTION||
A negative value of the first "^"-piece of the Results indicates that Results[i] Error Descriptor ^01: Error code ^02: Message ^03: Place of the error Otherwise, the task descriptors are returned in the RESULTS array (see the ROR TASK INFO remote procedure for details). Results Result Descriptor ^01: Number of task descriptors returned an error occurred during the execution of the remote procedure. In this in the Results array (NTSK) ^02: Number of nodes that make a single task descriptor (TIN) Results[i] Value returned by the $$TASKINFO^RORTSK function. You can calculate the subscript of the item TI (from 1 to TIN) of the task TN (from 1 to NTSK) using the following formula: i = (TN-1)*TIN+TI. case, the second piece of the Results will contain number of the error For example, if number of nodes returned by the $$TASKINFO^RORTSK function for each task is 13 and the RESULTS array contains information about 3 tasks, the following nodes will be defined: Results = "3^14" Results = Task Number 1 Results = Task Type 1 (internal^external) ... Results = User Comment 1 descriptors returned in the subsequent nodes of the Results array: Results = Task Number 2 Results = Task Type 2 (internal^external) ... Results = User Comment 2 Results = Task Number 3 Results = Task Type 3 (internal^external) ... Results = User Comment 3 Results Result Descriptor ^01: The last error code ^02: Number of the error descriptors