Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== RTI_TASK_STATUS ====== ==== Description ==== RTI_TASK_STATUS returns the current status of a submitted background tasks, and its results (if the task is complete). It is a member of the RTI_TASK_xxx programs. ==== Syntax ==== Rslt = RTI_TASK_STATUS(taskID, results) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |taskID|The task ID returned from the RTI_TASK_SUBMIT call| |results|The results generated by the background task, if it is completed.| ==== Returns ==== The current status of the task. ==== Notes ==== RTI_TASK_STATUS will return the current status of the requested task. Possible return values include “SUBMITTED” (the task has been placed in the queue but is not yet processed), “IMMEDIATE” (the task has been submitted for immediate processing but has not yet been processed), “PROCESSING” (the task is currently in process), “COMPLETED” (the task is complete), and “ERROR” (an error was encountered). If the task status is COMPLETED, the return value of the task (invoked as a function) will be returned in the “results” parameter; if the status is ERROR, the “results” parameter will contain additional error information. If the status is either COMPLETED or ERROR, the task entry will be removed after the RTI_TASK_STATUS call (so additional calls to RTI_TASK_STATUS with the same taskID will return an error). See Also: [[rti_task_submit|RTI_TASK_SUBMIT]], [[rti_task_startup|RTI_TASK_STARTUP]], [[rti_task_shutdown|RTI_TASK_SHUTDOWN]], [[rti_taskmanager|RTI_TASKMANAGER]] guides/programming/programmers_reference_manual/rti_task_status.txt Last modified: 2024/10/25 18:00by bshumsky