ProcessOnly DWORD Key
This page provides general information about the setup and use of the Process Only DWORD key for Workflow.
This registry setting restricts processing in the Workflow Engine to only those set in the registry setting. The following bits are defined in the DWORD. This DWORD needs to be set up on the server under HKEY_LOCAL_MACHINE/Software/ WOW6432Node/bitech/Workflow:
- Bit 1 – This bit controls the Workflow Queue processing component of the Workflow Engine. When set "on" Workflow Queue processing is performed by the Workflow Engine. When set "off" Workflow Queue processing is not performed by the Workflow Engine.
- Bit 2 – This bit controls the Workflow E-Mail Response processing component of the Workflow Engine. When set "on" E-Mail responses are processed by the Workflow Engine. When set "off" Workflow E-Mail Response processing is not performed by the Workflow Engine.
- Bit 3 – This bit controls the Workflow model instance processing component of the Workflow Engine. When set "on" Workflow model instances are processed by the Workflow Engine. When "off" Workflow model instance processing is not performed by the Workflow Engine.
- Bit 4 – This bit controls the Workflow Scheduled Model-processing component of the Workflow Engine. When "on" Workflow Scheduled Models are processed by the Workflow Engine. When "off" Workflow Scheduled Models are not processed by the Workflow Engine.
It is OK not to set bits for components that are currently not being used by the Workflow Engine. It can actually improve performance by removing unnecessary processing (i.e., E-Mail Response processing).
Setting Values
In order to set this key, it is important to understand that each bit has a corresponding value. These values are defined below - these are the same for all versions. The only difference may be that Scheduled modeling may not be available in the user version.
- Queue Only = 1
- Email Responses Only = 2
- Instance Only = 4
- Scheduled Only = 8 (valid only for versions that include Scheduled modeling 7.5 and beyond)
- For example, if Queue, Instance, and Scheduled processing are desired - the key would be set to 13 decimal. We arrive at that value by summing the values for each type of processing needed - in this case - (1 + 4 + 8). If on a version that does not include scheduled modeling and only Queue and Instance processing are desired this value would be set to 5 decimal.
Usage
The most common use of this key is to keep email responses from processing.
This is only appropriate if email response-required activities are NOT in use in any active Workflow model on the connection.
Another use of this key might be to allow one server to process Workflow queue records and another server to process instances - under this scenario one server in a farm would have the ProcessOnly DWORD set to 1 and another would have ProcessOnly set to 4. Under this scenario only queue and instance processing would happen - no email response or scheduled processing.
In BusinessPlus build 7.9.9+, ProcessOnly workflow regedit key needs to be changed from 4 to 12. All 7i web servers running workflow need to be at least 12 (8 for scheduled models and 4 for workflow engine processing). The main 7i web server running workflow would be 13 or 15 (15 if using Email Response Required activities or 13 if not using that feature).