Jump to: navigation, search

Changes


Activity:GetPropertyValue (Activity)

1,487 bytes added, 14:42, 23 October 2013
Created page with "{{ActivityInfoBox | title = Get Property Value | name = GetPropertyValue | image = | imagecaption = Activity GetPropertyValue | purpose = Gets the value of a single property ..."
{{ActivityInfoBox
| title = Get Property Value
| name = GetPropertyValue
| image =
| imagecaption = Activity GetPropertyValue
| purpose = Gets the value of a single property
| category = Object Primitives
| returns = True if successful
| version = 2.2+
}}
The GetPropertyValue Activity gets the value of a named property of a {{UBIK}} object.






==Arguments==

{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Index|| Integer|| In || The index of the value of an indexed property; leave empty for a regular value
|- align="left"
| PropertyName|| String|| In || The name of the property that should be evaluated
|- align="left"
| UBIKObject|| BaseClass || In || The object where the property should be evaluated from
|- align="left"
| Value|| Object || Out|| The returned value
|- align="left"
| Result|| Boolean|| Out || True if successful, false if failed
|}

==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.


==Example==

Get the ''NAME'' of a given object:

{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| UBIKObject|| Connect this argument with a variable
|- align="left"
| PropertyName || <source lang = "vbnet">"NAME"</source>
|}

==See also==
* [[Workflow Designer]]
* [[SetPropertyValue (Activity)]]

[[Category:Workflows]] [[Category:Activities]]