RTI_TASK_STARTUP
Description
RTI_TASK_STARTUP starts a polling service to process background tasks.
It is a member of the RTI_TASK_xxx programs.
NOTE: Starting with OpenInsight 10.2.3, RTI_TASK_CREDENTIALS will allow developers to "override" the credentials used to start up the background task processor. Normally, the currently-logged-in user's credentials are passed to the background task processor, but in certain environments (such as where Single Sign On (SSO) is used) it may be desirable/necessary to explicitly send in the username and password.
Syntax
Rslt = RTI_TASK_STARTUP(bStartPolling{, task_id})
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
bStartPolling | True(1) to launch an oinsight.exe process to poll the task queue for pending tasks and launch them. | |
task_id | (Optional) The id of a specific task to launch. |
Returns
Notes: RTI_TASK_STARTUP is a supporting routine, normally called by RTI_TASK_SUBMIT. Use RTI_TASK_STARTUP if you want to launch a task or start a poller yourself. The task will use the credentials of the current user.
See Also: RTI_TASK_SUBMIT, RTI_TASK_STATUS, RTI_TASK_SHUTDOWN, RTI_TASKMANAGER, RTI_TASK_CREDENTIALS