Running Business Processes and Composite Applications : webMethods Task Engine User’s Guide : Administering Tasks : Administering Task Types : Administering Indexed Task Business Data : Reindexing Task Types That Contain Indexed Business Data
Reindexing Task Types That Contain Indexed Business Data
Before you execute this procedure, review the Usage Notes, below.
To reindex a task type
1. In My webMethods: Navigate > Applications > Administration > Business > Tasks > Task Engine Administration. All of the task types available in My webMethods are displayed in the Task Configuration window.
2. In the Task Type ID column, click the link to the task type you want to reindex.
3. On the Task Type panel, click the Indexes tab. A read-only table on the Indexes tab displays the indexed business data structure for the existing table (that is, prior to reindexing).
4. Click Reindex.
Note:  
If the task type is not configured to work with indexed business data, or has no indexed business data, the Reindex button is not available and the Indexes field is empty.
While the task type is being reindexed, a status message appears near the top of the Indexes tab, in the format Reindexing: nnnn/xxxx, where nnnn indicates the number of tasks that have been processed, and xxxx indicates the total number of task instances. This count is updated for every 1000 tasks that are processed; when not running, the status message displays the start time, stop time, and status of the last index procedure.
To stop reindexing, you can click Stop Reindex. See Usage Notes for more information.
Note:  
If you stop the reindexing procedure before it completes, be aware that the indexed business data table is incomplete and any searches run from a task instance of this task type will return incomplete results.
Tip:  
You can refresh the Indexes tab at any time to view the current contents of the indexed business data table for the selected task type.
Usage Notes
*The reindexing procedure causes the index table in the database to be completely repopulated with indexed business data from all instances of the task type currently in the system. If the number of task instances is very large, the reindexing procedure can take a relatively long time to complete. For example, a few thousand task instances may take two to five minutes to process; larger numbers will take proportionately longer.
*The Reindex button is available at any time for task types configured to use indexed business data. Reindexing does not drop the table, but it does delete all current indexes and then proceeds to reindex the available task instances of the selected task type.
*You cannot pause the reindexing procedure after it is started; it can only be stopped.
*When you stop the reindexing procedure, indexing ceases and the table retains the indexes for what ever tasks were reindexed up until the Stop Reindex button is clicked.
*You can execute two or more reindexing procedures simultaneously. However, if the number of task instances is large, this may result in increased consumption of system resources, and performance issues may occur.
*The reindexing process runs in the background; you can continue to work with My webMethods in other areas.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback