Jump to: navigation, search

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


(See also)
Line 19: Line 19:
 
! Argument !! Type !! Direction !! Purpose  
 
! Argument !! Type !! Direction !! Purpose  
 
|- align="left"
 
|- align="left"
| Query|| Query|| In || The Query to execute
+
| Query|| [[Query]]|| In || The Query to execute
 
|- align="left"
 
|- align="left"
| FirstMatch|| BaseClass || Out || The first object the query returned
+
| FirstMatch|| [[BaseClass]] || Out || The first object the query returned
 
|- align="left"
 
|- align="left"
| Result|| List<BaseClass> || Out || The result of the query
+
| Result|| List<[[BaseClass]]> || Out || The result of the query
 
|}
 
|}
  

Revision as of 14:55, 8 January 2015

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

The GetObjectsByQueryActivity executes an existing UBIK® Query.


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