Working with work queue writers and batch processes

You can run many batch processes, including writers for work queues, from PolicyCenter or from the command prompt.

How to run a writer from the Work Queue Info screen

It is possible to run a writer for a work queue from the Server Tools Work Queue Info screen. PolicyCenter enables the Run Writer button on this screen for all work queue types that belong to the BatchProcessTypeUsage category UIRunnable.

To access the Work Queue Info screen, you must have the internaltools permission. The Admin role has this permission by default. Alternatively, if the EnableInternalDebugTools parameter is set to true in config.xml and the server is running in development mode, all users can access the Work Queue Info screen.

How to run a batch process from the Batch Process Info screen

It is possible to run batch processes from the Server Tools Batch Process Info screen in PolicyCenter. PolicyCenter enables the Run button on this screen for all batch process types that belong to the BatchProcessTypeUsage category UIRunnable.

To access the Batch Process Info screen, you must have the internaltools permission. The Admin role has this permission by default. Alternatively, if the EnableInternalDebugTools parameter is set to true in config.xml and the server is running in development mode, all users can access to the Batch Process Info screen.

How to terminate a writer or batch process from the command prompt

It is possible to terminate some in-progress processes, including writers for work queues, from a command prompt. To determine if it is possible to terminate an in-progress batch process, consult the reference topic for that particular batch processing type. The information for each individual batch process includes whether it is a single phase or multiphase process. You can only stop those processes listed as being multiphase.

Note: It is not possible to terminate a single phase batch process. Single phase processes run in a single transaction. Thus, there is no convenient place to terminate the process.