About the Infor Framework TaskMan service
Infor Framework TaskMan service (which, it should be noted, is different from the Windows Task Manager), is a Windows service that:
- Polls the Application Database, as scheduled, for tasks to run
- Launches applications
- Executes SQL stored procedures
- Processes and generates reports
- Runs IDO methods
Polling the Application Database
On startup, TaskMan connects to the Application Database. It then polls the Application Database to identify new tasks to run. TaskMan uses a polling interval that is defined on the Intranets form.
When a task that is waiting to be run is found, the task information is queried and the appropriate process is performed. This task information includes the executable file, the procedures or methods to run, the type of task parameters involved, and the user name.
Executing SQL stored procedures
For a SQL stored procedure, TaskMan launches a database process thread. The database process then connects to the Application Database. It logs in as the user who submitted the task. The stored procedure is then executed using the process connection.
Launching applications
TaskMan launches a system process to execute any valid Windows application such as EDI (EDIImporter.EXE) and the Scheduler (AIM_BATS.EXE), which enables the application to carry out its processing. The application is executed under the user account used by the TaskMan service.