Difference between revisions of "Activity:GetPropertyValue (Activity)"
m (moved GetPropertyValue (Activity) to GetPropertyValue (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | The GetPropertyValue Activity gets the value of a named property of a {{UBIK}} object. | ||
+ | |||
+ | = Description = | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Get Property Value | | title = Get Property Value | ||
Line 9: | Line 12: | ||
| version = 2.2+ | | version = 2.2+ | ||
}} | }} | ||
− | |||
− | |||
− | |||
+ | ===Arguments=== | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | Index|| {{ | + | | Index|| {{Int32_MSDN}}|| In || The index of the value of an indexed property; leave empty for a regular value |
|- align="left" | |- align="left" | ||
| PropertyName|| {{String_MSDN}}|| In || The name of the property that should be evaluated | | PropertyName|| {{String_MSDN}}|| In || The name of the property that should be evaluated | ||
Line 28: | Line 29: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity is used to read a value of a property of an object, where the property is identified by its name. The value is passed as an OutArgument for further processing. | This activity is used to read a value of a property of an object, where the property is identified by its name. The value is passed as an OutArgument for further processing. | ||
− | + | =Example= | |
Get the ''NAME'' of a given object: | Get the ''NAME'' of a given object: | ||
Line 45: | Line 46: | ||
| PropertyName || <source lang = "vbnet">"NAME"</source> | | PropertyName || <source lang = "vbnet">"NAME"</source> | ||
|} | |} | ||
+ | |||
+ | {{Activity/End}} | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[SetPropertyValue (Activity)]] | + | * [[Activity:SetPropertyValue (Activity)]] |
[[Category:Activities]] | [[Category:Activities]] |
Latest revision as of 10:30, 19 March 2015
The GetPropertyValue Activity gets the value of a named property of a UBIK® object.