guides:programming:programmers_reference_manual:rti_task_startup

RTI_TASK_STARTUP

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.

Rslt = RTI_TASK_STARTUP(bStartPolling{, task_id})

The function has the following parameters:

ParameterDescription
bStartPollingTrue(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.

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

  • guides/programming/programmers_reference_manual/rti_task_startup.txt
  • Last modified: 2024/10/25 18:00
  • by bshumsky