A worker template provides a definition for a worker (task). It includes:
- The process that the worker should run.
- The status rules used to build the worker menus.
- The action to be run when the worker is created.
- Configuration options for the worker.
Worker templates are created using the Worker Template node type.
As well as specifying the process and status rules directly, a worker template can reference one or more components. The worker process definitions and worker status rules from the components are collated in order (those lower in the list taking precedence over those higher), and then the directly specified process and status rules merged on top of these.