ThingWorx Model Definition in Composer > Modeling > Code Snippets > UpdateDataTableEntriesWithQuery
UpdateDataTableEntriesWithQuery
Description
The UpdateDataTableEntriesWithQuery service is used to update entries in a DataTable. This service also allows you to specify the filters of the entries based on certain conditions, and the updated values will be added to this filtered query.
Inputs
Parameter Name
Description
Base Type
tags
Data Tags to be filtered.
TAGS
location
Location of the entry (optional).
LOCATION
source
Source of the entry (optional).
STRING
sourceType
Source type (optional).
STRING
values
Data values to search for updating the entries.
INFOTABLE
query
Query definition.
QUERY
updateValues
Data values to be updated.
INFOTABLE
Output
There is no output for this service.
Example

me.UpdateDataTableEntriesWithQuery({
sourceType: undefined /* STRING */,
query: undefined /* QUERY */,
values: undefined /* INFOTABLE */,
location: undefined /* LOCATION */,
source: undefined /* STRING */,
updateValues: undefined /* INFOTABLE */,
tags: undefined /* TAGS */
});
Was this helpful?