Background Task Definitions
Use this form to create a record that identifies each background task
to TaskMan. TaskMan monitors the application database in order to execute
background tasks.
Every report, and every utility or activity that can be run as a background
process, must be listed in the Background Task Definitions form.
NOTE: Tasks are already
set up where needed for standard forms in this application. Use the Background
Task Definitions form only to set up tasks for your company's custom forms.
Background tasks must meet the following requirements.
- The task name should match the form name, to make it easier to
identify.
- Stored procedures must be written
in SQL and reside in your SQL application database. Utility and activity
forms generally use the Executable Type SP (stored procedure).
- Executable programs must reside
in a directory available to the directory where TaskMan resides.
- Reports are created using Microsoft
SQL Server Reporting Services (SSRS). The report output file must
be placed in TaskMan's reports subdirectory on the server. Although
the report uses a stored procedure, its Executable Type must be set
to RDL, since it requires special handling through SSRS.
- IDO methods specify a method
name (in the format IDO.Method - for example, MyProgID.SLSites.MyTestMethod)
and use the Executable Type IDOMTH. When processing tasks of this
type, TaskMan requires a configuration with the same name as the site
name. On the machine where TaskMan is running (typically the utility
server), you must create a configuration where the configuration name
matches the database site name, if one doesn't already exist.
Related Topics
About Maximum Concurrent
Tasks
Scheduling
Background Tasks (Developer or Administrator)
Setting Transaction
Isolation Levels
About Transaction
Isolation Levels
Active Background
Tasks
Background
Task History
Modifying
Forms to Submit Tasks to the Background Queue