Running Business Processes and Composite Applications : webMethods Task Engine User’s Guide : Administering Tasks : Administering Task Types : Administering Indexed Task Business Data : About Business Data Field Searches
About Business Data Field Searches
When a task application is published to the My webMethods Server runtime, individual task instances can be started either automatically from a process or manually by a user. The specified business data for a task instance is populated from various sources as the task moves through its life cycle.
These business data fields and their values are stored in one of two database tables created and maintained by the Task Engine:
*The Task Engine stores all task business data for all tasks as a binary large object (BLOB) within a full-search database table. While this makes all business data available for all tasks, the BLOB must be de-serialized to make the information available, and it can be quite large when many tasks are present.
*When a task contains indexed business data fields, those fields are stored in a separate indexed fields database table as well as the BLOB; this table contains only indexed business data fields and their values. The indexed field table is created dynamically when a task application containing indexed business data fields is published to My webMethods Server. The indexed field table provides a limited but much faster search mechanism that is especially useful in situations when a very large number of tasks are present in a task inbox.
The Task Engine maintains both database tables and updates them dynamically as new tasks are queued in the system or as existing tasks are deleted from the system.
Users can search within a task inbox for specific business data; the search behavior depends on how the task developer has configured the task:
*If the task is configured with a standard search provider, the search examines all business data in all the tasks in the inbox. If the number of tasks in an inbox is relatively small, this search executes quickly. However, when a large number of tasks are present, a standard (full) search can take significantly longer.
*If the task is configured with an indexed search provider, the search examines only the business data in the indexed fields table and ignores all other fields, resulting in a much faster search. In this case, the task developer must mark one or more business data fields as indexed fields, otherwise the search will return no results.
In addition, separate task client services are available in the WmTaskClient package to execute a full search on data in the BLOB or the limited search on the indexed field table. For more information, see webMethods Task Engine API and Service Reference.
Indexed business data fields are available as a standard feature with Task Development Version 8.2 and later. Task applications created with earlier versions can be modified to support indexed data fields. Any task application, regardless of version, can be configured to use either search method. Consult with the task developer if you want to modify the search behavior of an existing task.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback