Difference between revisions of "Activity:GetObjectsByQuery (Activity)"
m (moved GetObjectsByQuery (Activity) to GetObjectsByQuery (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
(→See also) |
||
Line 45: | Line 45: | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[GetObjectsByPropertyValue (Activity)]] | + | * [[Activity:GetObjectsByPropertyValue (Activity)]] |
[[Category:Activities]] | [[Category:Activities]] |
Revision as of 11:48, 23 February 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.
Contents
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") |