Jump to: navigation, search

Changes


Activity:CreateDerivate (Activity)

1,477 bytes added, 10:24, 18 March 2015
Created page with "The CreateDerivate Activity creates a new [[Instance|instance]] of a specified [[MetaClass]]. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --..."
The CreateDerivate Activity creates a new [[Instance|instance]] of a specified [[MetaClass]].

<!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS -->

= Description =
{{ActivityInfoBox
| title = CreateDerivate
| name = CreateDerivate
| image =
| imagecaption = Activity CreateDerivate
| purpose = Create a new derivate of a MetaClass
| category = UBIK Object Primitives
| returns = The created derivate
| version = 2.1+
}}

===Arguments===
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| MetaClass|| [[MetaClass]] || In || The MetaClass to create the derivate from
|- align="left"
| Result|| [[MetaClass]]|| Out || The created derivate, null if creation failed
|}

===Usage===
This activity is used to create new {{UBIK}} metaClass during the execution of a workflow.

{{Attention|This activity does not automatically save changes. If you want to persist the newly created instance, you need i.e. a subsequent [[Activity:SaveObject_(Activity)|SaveObject activity]]!}}

=Example=
Load the MetaClass named ''PUMP'', and create a new derivate from it:

{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| argument || example of value
|- align="left"
| argument || example of value
|}

<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS -->

==See also==
* [[Workflow Designer]]
* [[Activity:SaveObject (Activity)]]

[[Category:Activities]]
310
edits