Difference between revisions of "Activity:GetObjectsByQuery (Activity)"
(→See also) |
|||
(5 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+ | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ===Arguments=== | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! 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 |
|} | |} | ||
− | ==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= | |
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]] |
Latest revision as of 09:59, 4 November 2015
The GetObjectsByQueryActivity executes an existing UBIK® Query.