Jump to: navigation, search

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


m (moved GetObjectsByQuery (Activity) to GetObjectsByQuery (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
The GetObjectsByQueryActivity executes an existing {{UBIK}} [[Query|query]].
 +
 +
=Description=
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Get Objects By Query
 
| title = Get Objects By Query
Line 9: Line 12:
 
| version = 2.1.15+
 
| version = 2.1.15+
 
}}
 
}}
The GetObjectsByQueryActivity executes an existing {{UBIK}} [[Query|query]].
 
 
 
 
==Arguments==
 
  
 +
===Arguments===
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
Line 26: Line 25:
 
|}
 
|}
  
==Usage==
+
===Usage===
 
+
 
This activity is used to evaluate {{UBIK}} queries during the execution of a workflow.
 
This activity is used to evaluate {{UBIK}} queries during the execution of a workflow.
  
==Example==
+
=Example=
 
Load the Query named ''AllPumps'', and evaluate it:
 
Load the Query named ''AllPumps'', and evaluate it:
 
  
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
Line 42: Line 39:
 
.AllInstances("AllPumps")</source>
 
.AllInstances("AllPumps")</source>
 
|}
 
|}
 +
 +
<!-- DO NOT REMOVE THIS -->{{Activity/End}}<!-- DO NOT REMOVE THIS -->
  
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
* [[GetObjectsByPropertyValue (Activity)]]
+
* [[Activity:GetObjectsByPropertyValue (Activity)]]
  
[[Category:Activities]]
+
[[Category:Activities]]

Latest revision as of 09:59, 4 November 2015

The GetObjectsByQueryActivity executes an existing UBIK® Query.

[edit]

Description

Get Objects By Query
Name GetObjectsByQuery
Purpose Execute a query
Category Object Primitives
Returns The result of the query
Version 2.1.15+

Arguments

Argument Type Direction Purpose
Query Query In The Query to execute
FirstMatch BaseClass Out The first object the query returned
Result List<BaseClass> Out The result of the query

Usage

This activity is used to evaluate UBIK® queries during the execution of a workflow.

Example

Load the Query named AllPumps, and evaluate it:

Argument Value
Query
UBIKObject.Environment _
.GetSystemMetaClass(SystemObjects.QUERY) _
.AllInstances("AllPumps")


See also