ROR TASK INFO

TITLEVALUE
NAMEROR TASK INFO
DESCRIPTIONThe ROR TASK INFO remote procedure returns the information about the task
started from the GUI.
TAGTASKINFO
ROUTINERORRP010
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERTASK
DESCRIPTIONA valid task number should be assigned to the TASK parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array.

Results[0] Result Descriptor
^01: The last error code (LASTERR)
^02: Number of the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Error descriptors are returned in reverse chronological order (most recent
error first).

Otherwise, the Results[0] contains number of task descriptors returned
in the Results array (always 1) and number of elements that comprise a
task descriptor:

Results[0] Result Descriptor
^01: 1
^02: Number of elements that comprise a task
descriptor (TIN)

The subsequent nodes of the Results array (from 1 to TIN) contain the
information about the scheduled task:

Results[1] Task Number
Results[2] Task Type (internal^external)
Results[3] Registry (IEN^Name)
Results[4] Report (Code^Name)
Results[5] Task Description
Results[6] Task Status (internal^external)
Results[7] Creation Time (FileMan)
Results[8] User (DUZ^Name)
Results[9] Completion Time (FileMan)
Results[10] Progress Percentage
Results[11] Scheduled to Run at (FileMan)
Results[12] Task Log IEN
Results[13] Job Number
Results[14] User Comment
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED