Text Search
Use this action to search the text in the given scopes such as longtext and shorttext fields.
Using the Text Search Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Text Search action under the Integrity Lifecycle Manager connector to the canvas, place the pointer on the action, and then click or double-click the action. The Text Search action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a new connection, refer to the section Adding a Connection in the Integrity connector topic.
If you previously added an Integrity Lifecycle Manager connection, select a connection from the list.
4. In the Search text field, enter the text which you want to search. Entered text will be searched against long-text and short-text field only.
The Search text and scope and Attribute parameters are mandatory options for this action.
5. Select the search scope from the Scope list.
6. In the Order By field, enter the following details:
Attribute—Select one of the option to sort the result.
Order—Select the order of the result, ascending or descending.
7. Click + to display the additional fields, and then enter the following details:
In the Select Attributes field, click Add to add new attributes. It is mandatory to select atleast one attribute.
Limit—Enter a value to limit the action output to a specified number of items.
Skip—Enter a value to skip the specified number of items returned by the server.
The Limit and Skip parameters can be used in combination.
8. Click Done.
By default, this action returns only 25 records. To get a specific number of records, enter the number of records in the Get top n results property field. The maximum number of records that can be returned is 200. If you enter a value greater than 200, not more than 200 records are returned.
Output Schema
The Text Search action returns an output schema as shown in the figure that follows: