Processes can be initiated manually by a user or automatically by an external event in JobRouter. JobRouter offers the following possibilities for an automatic start of a process instance.
•Monitoring of directories and starting instances for files (see Administration manual)
•Monitoring email accounts and starting of instances for emails (see Administration manual)
•Monitoring JobRouter task tables and starting of instances for tasks.
This manual describes the procedure to start instances using the task table in the JobRouter database or in an external data source.
How it works
The JRJOBIMPORT table in the JobRouter database is used to automatically start instances. Every row in this table corresponds to a task to start a specific instance with any parameters. This table is constantly monitored by the JobServer service. As soon as a new entry is made into the table, the service tries to start the instance in JobRouter. If successful, the process ID of the started instance, the workflow ID of the started step as well as the instance number and the start date is written back into the table. If an error occurs, an error message is written back.
This table can also be monitored using the JobRouter user interface (see Administration manual).