Difference between revisions of "Activity:RemoveFromNamedRelation (Activity)"
(→See also) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Remove From Named Relation | | title = Remove From Named Relation | ||
Line 12: | Line 9: | ||
| version = 2.1.15+ | | version = 2.1.15+ | ||
}} | }} | ||
− | + | The RemoveFromNamedRelation activity removes a child object via the name of an existing [[Relation|relation]] from a given parent object. | |
− | + | ||
− | + | ||
− | + | ||
==Arguments== | ==Arguments== | ||
− | |||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | Parent || RelationalObject || In || The parent object | + | | Parent || [[RelationalObject]] || In || The parent object |
|- align="left" | |- align="left" | ||
− | | RelationName || | + | | RelationName || {{String_MSDN}}|| In || The name of the relation to be searched for at the parent object |
|- align="left" | |- align="left" | ||
− | | Child || RelationalObject || In || The child to remove | + | | Child || [[RelationalObject]] || In || The child to remove |
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed |
|} | |} | ||
Line 54: | Line 47: | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[AssignToNamedRelation (Activity)]] | + | * [[Activity:AssignToNamedRelation (Activity)]] |
− | + | [[Category:Activities|RemoveFromNamedRelation (Activity)]] |
Latest revision as of 10:05, 4 November 2015
Remove From Named Relation | |
---|---|
Name | RemoveFromNamedRelation |
Purpose | Remove child object from parent object |
Category | Object Primitives |
Returns | True if successful |
Version | 2.1.15+ |
The RemoveFromNamedRelation activity removes a child object via the name of an existing Relation from a given parent object.
Contents
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
Parent | RelationalObject | In | The parent object |
RelationName | String | In | The name of the relation to be searched for at the parent object |
Child | RelationalObject | In | The child to remove |
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 NOMINALPOWER from a given MetaClass' properties:
Argument | Value |
---|---|
Parent | Connect this argument with a variable |
RelationName | "SYSREL_METAPROPERTY" |
Child | UBIKObject.GetMetaProperty("NONIMALPOWER") |