Updating 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 network deployment environment, all cluster members on the same node share the index by default. Run the commands for updating the index on the deployment manager. To specify where the command runs, include the -host host_name parameter of the node and the -port SOAP_port parameter of an application cluster member. 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:For Windows operating system
taskIndexFullReIndex.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port
This topic applies only to the z/OS platformFor Linux operating systemFor UNIX operating system
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.

Updating 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:For Windows operating system
taskIndexUpdate.bat -user tw_admin -password tw_admin  -host host_name -port SOAP_port taskID
This topic applies only to the z/OS platformFor Linux operating systemFor UNIX operating system
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.

Deleting a particular task

To delete a particular task from the task index, enter one of the following commands on the command line:For Windows operating system
taskIndexDeleteTask.bat -user tw_admin -password tw_admin  -host host_name -port SOAP_port taskID
This topic applies only to the z/OS platformFor Linux operating systemFor UNIX operating system
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:For Windows operating system
taskIndexRemoveDeletedTasks.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port
This topic applies only to the z/OS platformFor Linux operating systemFor UNIX operating system
taskIndexRemoveDeletedTasks.sh -user tw_admin -password tw_admin -host host_name -port SOAP_port