Element | Description |
fields | String[ ] A list of fields that are to be searched. There are two different methods for specifying the field name, depending on whether you are working with standard task fields or indexed task fields. For more information about indexed fields, see the webMethods BPM Task Development Help. Working with Standard Task Fields You can search the following standard task fields in TaskInfo using these names: acceptedByList assignedToList auditContext collaborationProcessID collaborationStepID createdBy createdDate customTaskID description expireDate lastModifiedDate lastModifiedBy lastAcceptedBy name priority taskID taskTypeID parentTaskID processInstanceID processModelID processModelVersion status stepID stepIteration To search standard fields in TaskData (the task business data), specify the field using a binding expression in this format: #{currentTask.taskData.pathToDataElement} For example, this binding expression: #{currentTask.taskData.travelReservation.reservationNo} searches the "reservationNo" field within the "travelReservation" document in TaskData. If you specify multiple fields in this parameter, the comparison evaluates to true if any of the specified fields match the query defined by operator and value (that is, the service performs a logical "OR" when asked to evaluate multiple fields). This API returns the values for the specified data fields only. |
Working with Indexed Fields To search tasks with indexed fields, you must pass in the database name of the indexed field along with the desired operator and value. The indexed field name is set in the Designer task editor. To determine the database index field name: 1. Open the task that contains the indexed data field. 2. On the Business Data tab, select the field you want to work with. 3. Click Edit. 4. In the Edit Business Data dialog box, obtain the indexed field name from the Name field in the Database field settings area. For example, to search the database field “ZipCode” for matches to the value “90210”: SearchTerm.fields="ZipCode" SearchTerm.operator="=" SearchTerm.value="90210" |
This API returns the values for the specified indexed fields only. For more information about indexed fields, see the webMethods BPM Task Development Help. | |
operator | String The comparison that the service makes when evaluating the contents of Value against the contents of the specified field(s). Operator must be one of the following: ![]() ![]() ![]() ![]() ![]() ![]() ![]() For example, if you have a string array with three elements, this operator evaluates to true if any one of the three elements contains a string that exactly matches the value in Value. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
value | anyType The value to which the contents of the field specified in Field is compared. Value can also specify a pattern string that can include the * wildcard character. For example: ![]() ![]() ![]() ![]() Note:Value is case-sensitive. That is, abc will not match ABC or Abc. |