Configuring the Workflow Center index

You can configure the indexing process to automatically update the index on a preset schedule. You can also set the index location, and you can disable indexing altogether.

The following XML snippet shows the default values:
<server>
  <search-index>            
	<artifact-index-enabled merge="replace">true</artifact-index-enabled>            
<artifact-index-update-interval merge="replace">60</artifact-index-update-interval>
  </search-index>
</server>

To change these settings, either add these properties to the 100Custom.xml file manually or use the updateBPMConfig command and then change the default values as needed. For information about the updateBPMConfig command, see updateBPMConfig command. For information about changing the 100Custom.xml files, see Creating a 100Custom.xml configuration file.

Setting the update interval
To set an update interval, reconfigure this line: <artifact-index-update-interval>60</artifact-index-update-interval>.
The update is set in seconds. Change the number "60" to the number of seconds for the interval at which the index will perform an update.
Restriction: The minimum update interval is 30 seconds. If you attempt to set a value of less than 30, the index defaults to 30 seconds.
Disabling the index
To disable indexing, reconfigure this line: <artifact-index-enabled>true</artifact-index-enabled>.
A value of false stops reindexing. If the index does not exist, it will not be created. A value of true means that reindexing does occur at the specified interval. If the index does not exist, it is created.

Setting the index location

To change the index location, log in to the administrative console and select Environment > WebSphere Variables.

Setting the location for a cluster server
Edit the BPM_SEARCH_ARTIFACT_INDEX variable. For a network deployment environment, set the scope to the application cluster level. The default is $<BPM_SEARCH_ARTIFACT_INDEX_ROOT>/<clusterName>
Setting the location for a stand-alone server
For a stand-alone server, set the scope to the cell level. The default is $<BPM_SEARCH_ARTIFACT_INDEX_ROOT>/$<WAS_SERVER_NAME>. If the variable is not set, the location defaults to $<USER_INSTALL_ROOT>/searchIndex/artifact/$<WAS_SERVER_NAME>.