Advanced Server Options: Tasks

A task is an activity that runs an external process such as connecting to the Laserfiche Server, sending an e-mail, or retrieving data from a database. In this tab in the Advanced Server Options dialog box, you can configure what will occur if a task encounters an error. You can also choose to report tasks' progress, allow activities to run in parallel, and configure if and when tasks are deleted.

To configure task performance settings

  1. Select the Advanced Server Options node or any server details in the center Details Pane.
  2. Click Properties in the Actions Pane or right-click and select Properties.
  3. Select the ClosedTasks tab of the Advanced Server Options dialog box.
  4. In this tab, you can
    • Enable or disable task error handling.
      • Specify a maximum number of times the task will retry when it encounters an error.
      • Configure the Retry timer interval to specify how often the workflow checks for tasks to retry.
      • Configure the Retry timer look ahead to specify how far ahead the retry timer will look for tasks waiting to be retried. If there is a task waiting to be retried within this specified interval, the retry timer will queue the task.
      • Configure the Retry timer timeout to specify how long the retry process can run before it will terminate.
    • Enable or disable Parallel activity optimization. If parallel activity optimization is enabled, activities that can run in parallel will run more quickly, but the number of SQL calls will increase.
    • Enable or disable Wait condition optimization. If wait condition optimization is enabled, the Workflow Server will track wait conditions. Selecting this option reduces the number of queries made to SQL if there are no wait conditions.
    • Choose to delete completed tasks after a specified timeframe. To configure when tasks will be deleted, you can configure the Timeout period, which is the amount of time after which a task will be deleted, and the Frequency, which is how often the Workflow Server will look for tasks that are ready to be deleted. If you clear this option, tasks will automatically be deleted immediately after they are performed.