Documentation Center

Default background task role

This role provides everything which is necessary to execute all possible background tasks

The default background task role runs the Trisoft InfoShare BackgroundTask service configured with a role that contains all possible eventTypes.

Prerequisites

Out-of-the-box the Trisoft InfoShare BackgroundTask One service is configured with the Default role which contains all possible eventTypes. In this case, starting the Trisoft InfoShare BackgroundTask One service is enough to enable the default background task role.

However, using the following steps you can double check the configuration:
  • Find the role which is used by the Trisoft InfoShare BackgroundTask One service
    • Goto Start > Administrative Tools > Services
    • Goto Trisoft InfoShare BackgroundTask One service
    • Click Properties
    • Check the value for Path to executable. The value should contain something like:
      C:\InfoShare\App\BackgroundTask\Bin\BackgroundTask.exe --service "Trisoft InfoShare BackgroundTask One" Default

      The last parameter in the command line is the name of the service role. Out-of-the-box the role will be "Default".

  • Check that the role contains all possible eventTypes.
    • Login to Content Manager Web Client as an administrator user.
    • Click Settings > XML Background Task Settings.
    • Find all eventTypes using handlers/handler/@eventType.
    • Goto the server definition with the role used by the service (e.g. "Default") and check that all eventTypes from the previous step are referenced in one of the groups. If necessary, add the missing eventTypes.

Make sure that all required third-party software is installed and configured properly on this server, because if one of the dependencies is not present the background tasks will fail.

How to enable the default background task role?

Execute the following steps to enable the default background task role:

  • Goto Start > Administrative Tools > Services
  • Goto Trisoft InfoShare BackgroundTask One service
  • Start the service

How to scale out?

There are 2 possibilities to scale out on the Trisoft InfoShare BackgroundTask service:
  • Adding extra services with the same role
  • Introducing specialized roles with a limited set of eventTypes.