Designer 10.7 | webMethods BPM Task Development Help | Configuring Tasks | Configuring Business Data (Task Inputs and Outputs) | Modifying Task Business Data Fields
 
Modifying Task Business Data Fields
You can modify top-level business data fields in a task at any time.
*To modify business data fields
1. In the Solutions view, double-click the task to open it in the editor.
2. Click the Business Data tab. Task business data is displayed in the Business Data area in the left area of the tab.
3. Click the business data field you want to modify.
Note:
In the task editor, you can modify field properties for top-level business data fields only. If you select a child field (such as a field contained in an IS document type), the field properties will be disabled for editing (you can still mark a child field for indexing, however). To modify the field properties for a child field, you must modify the IS document type that contains the field. To do so, select the IS document in the business data display and click Open in Editor. After you modify and save the IS document, you must click Refresh to update the IS document type in the task editor.
4. Click Edit to modify any of the following business data field properties:
*Field Name. Type the name you want to apply to the field.
*Input. Select this check box if the field is to be used as an input.
*Output. Select this check box if the field is to be used as an output.
*List. Select this check box if the field is to be used as a list.
*IS document. (Available for document reference fields only) Click Browse to locate and specify an IS document type.
*Index field in database. Select this check box to include this field in an indexed field database table in the run-time environment. This check box is not available for IS document references, but can be applied to fields within an IS document reference. Also, only non-list primitive types can be marked as indexed fields (that is, the List check box must be cleared; otherwise, the field is an array and cannot be indexed.
Specify the following database field settings:
Field
Description
Name
The name of the field representing the business data in the indexed field database table. The business data field name is displayed by default; however, the database name must be unique; modify this name here as required to create a unique database field name.
Type
The field type of the business data as it will be stored in the database table. The business data field type is displayed by default; however, if you want to store the data in the indexed field database table in a different type format, specify that format here.
Size
Enabled only for field types that require a size definition (for example, var char). Type the field size definition here.
Binding
Available only for fields that are children of a list. At run time, the total number of objects in a list is not known; therefore, you must specify which object from the list you want to index by providing an index value in the binding expression displayed in the Binding field:
#{currentTask.taskData.ISDocumentName.ListName[0]}
where “0” (zero) represents the index value. The value “0”(the first item in the list) is specified by default, but you can replace it with any index value. You can index only one object from a list.
*HPSTRA enabled. Available only for fields in HPSTRA-enabled task types. Select this check box to include the business data field in an Elasticsearch index.
For Type, select the type of Elasticsearch index to use for the field. Available options are:
*analyzed - the value of the field is indexed for full-text search. This is the default value.
*not_analyzed - the value of the field is indexed for searching, but only exact matches will be returned, including case and special characters.
*stored - the value of the field is stored in Elasticsearch, but is not indexed. Stored fields are not available for filtering and can only be retrieved as part of a result set.
For more information about Elasticsearch index settings, see About HPSTRA Searches and the Elasticsearch documentation.
The Binding field displays the index value of the current field in the binding expression. You cannot modify this value for HPSTRA fields.
5. Click OK.
6. Save your changes.
Related Topics