Jump to: navigation, search

Difference between revisions of "Activity:AddSearchCriterion (Activity)"


m (moved AddSearchCriterion (Activity) to AddSearchCriterion (): Text replacement - "(.*)(Activity)" to "Activity:$1")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
The AddSearchCriterion activity adds a new search criterion to a given query using the given parameters.
 +
 +
=Description=
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Add Search Criterion
 
| title = Add Search Criterion
Line 9: Line 12:
 
| version = 2.3+
 
| version = 2.3+
 
}}
 
}}
The AddSearchCriterion activity adds a new search criterion to a given query using the given parameters.
 
  
==Arguments==
+
===Arguments===
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
Line 31: Line 33:
 
|}
 
|}
  
==Usage==
+
===Usage===
 
This activity adds a new search criterion to a given query using the parameters defined in the arguments. Once the query is evaluated the system searches for the value '''PropertyValue''' in the property '''PropertyName'''. For indexed properties an index can be defined as well. Multiple search criteria are either combined with AND or OR, depending on '''And''' argument.
 
This activity adds a new search criterion to a given query using the parameters defined in the arguments. Once the query is evaluated the system searches for the value '''PropertyValue''' in the property '''PropertyName'''. For indexed properties an index can be defined as well. Multiple search criteria are either combined with AND or OR, depending on '''And''' argument.
 +
 +
<!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS -->
  
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
* [[CreateSearchQuery_(Activity)]]
+
* [[Activity:CreateSearchQuery_(Activity)]]
  
[[Category:Activities]]
+
[[Category:Activities|AddSearchCriterion (Activity)]]

Latest revision as of 09:57, 4 November 2015

The AddSearchCriterion activity adds a new search criterion to a given query using the given parameters.

[edit]

Description

Add Search Criterion
Name AddSearchCriterion
Purpose Adds a new search criterion to a query
Category UBIK Object Primitives
Returns True if added successfully
Version 2.3+

Arguments

Argument Type Direction Purpose
And Boolean In If true, criteria are combined using AND (default);
if false, criteria are combined using OR
Index Integer In Property value index (indexed properties only required)
Operator QuerySearchItemOperator In Search operator used
PropertyName String In Name of property to search the value for
PropertyValue T In Property value to be searched
Query Query In Query instance
Result Boolean Out True, if added successfully

Usage

This activity adds a new search criterion to a given query using the parameters defined in the arguments. Once the query is evaluated the system searches for the value PropertyValue in the property PropertyName. For indexed properties an index can be defined as well. Multiple search criteria are either combined with AND or OR, depending on And argument.


See also