IBM BPM, V8.0.1, All platforms > Administer the IT infrastructure > Administer the Process Portal task index

Update the Process Portal task index

If a problem occurs with the task index, you might need to run a command to rebuild the task index. You can also update the index for a particular task, or remove a task from the index.


Task index administration

The following administrative actions for the task index are performed by running commands from the profile/bin directory:

In a ND environment, run the commands on the dmgr. In a cluster, you must specify where the command runs by including the -host host_name and -port SOAP_port parameters to specify the host name of the node and the port number used for SOAP. Repeat the command for each node in the cluster. The default values for these parameters are -host localhost -port 8880.


Rebuilding the task index

If there are problems with the task index or task searches, you might need to rebuild the task index. To reindex the task index, enter one of the following commands on the command line:

taskIndexFullReIndex.bat -user tw_admin -password tw_admin -host  host_name -port  SOAP_port

taskIndexFullReIndex.sh -user tw_admin -password tw_admin -host  host_name -port  SOAP_port
This command deletes the existing task index and creates a new index. While the index is being built, the task search facility is unavailable.


Update the task index for a particular task

If you do not change the default configuration settings, the task index is updated every 10 seconds. However, you can also trigger updates to the task index from the command line.

If the correctness of the search index record for a particular task is doubted you can update the task index for a particular task, taskID, by entering one of the following commands on the command line:

taskIndexUpdate.bat -user tw_admin -password tw_admin -host  host_name -port  SOAP_port  taskID

taskIndexUpdate.sh -user tw_admin -password tw_admin -host  host_name -port  SOAP_port  taskID
The index is updated for the specified task, regardless of its state.

For example, even if the specified task is in the completed state and the <task-index-update-completed-tasks> configuration setting is set to false, the index will still be updated for the task.


Delete a particular task

To delete a particular task from the task index, enter one of the following commands on the command line:

taskIndexDeleteTask.bat -user tw_admin -password tw_admin -host  host_name -port  SOAP_port  taskID

taskIndexDeleteTask.sh -user tw_admin -password tw_admin -host  host_name -port  SOAP_port  taskID


Freeing up space in the index by removing deleted tasks

Periodically free up space in the index by deleting tasks from the index that were previously deleted from the task database. To remove the deleted tasks from the task index, enter one of the following commands on the command line:

taskIndexRemoveDeletedTasks.bat -user tw_admin -password tw_admin -host  host_name -port  SOAP_port

taskIndexRemoveDeletedTasks.sh -user tw_admin -password tw_admin -host  host_name -port  SOAP_port

Administer the Process Portal task index


Related concepts:
Configure the Process Portal task index
Search tips for Process Portal


Related tasks:
Making variables available for Process Portal searches