Changes

Activity:RemoveFromNamedRelation (Activity)

1,554 bytes added, 06:33, 23 July 2013
Created page with "The RemoveFromNamedRelation activity removes a child object via the name of an existing [[Relation|relation]] from a given parent object. {{ActivityInfoBox | title = Remove ..."
The RemoveFromNamedRelation activity removes a child object via the name of an existing [[Relation|relation]] from a given parent object.


{{ActivityInfoBox
| title = Remove From Named Relation
| name = RemoveFromNamedRelation
| image =
| imagecaption = Activity RemoveFromNamedRelation
| purpose = Remove child object from parent object
| category = Object Primitives
| returns = True if successful
| version = 2.1.15+
}}





==Arguments==

{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Parent || RelationalObject || In || The parent object
|- align="left"
| RelationName || String|| In || The name of the relation to be searched for at the parent object
|- align="left"
| Child || RelationalObject || In || The child to remove
|- align="left"
| Result|| Boolean|| Out || True if successful, false if failed
|}

==Usage==

This activity is used to find a certain relation at the parent object via the name and then remove the child object from it.

==Example==

Remove the MetaProperty named NOMINALPOWER from a given MetaClass' properties:


{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| Parent || Connect this argument with a variable
|- align="left"
| RelationName || <source lang = "vbnet">"SYSREL_METAPROPERTY"</source>
|- align="left"
| Child || <source lang = "vbnet">UBIKObject.GetMetaProperty("NONIMALPOWER")</source>
|}

==See also==
* [[Workflow Designer]]
* [[Activity RemoveFromNamedRelation]]

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