CreateInstance (Activity)
Revision as of 11:42, 19 July 2013 by JKN (Talk | contribs) (Created page with "The CreateInstance Activity creates a new Instance of a specified MetaClass. {{ActivityInfoBox | title = Create Instance | name = CreateInstance | internalna...")
The CreateInstance Activity creates a new Instance of a specified MetaClass.
| Create Instance | |
|---|---|
| Name | CreateInstance |
| Purpose | Create a new instance of a MetaClass |
| Category | Object Primitives |
| Returns | The created instance |
| Version | 2.1+ |
Arguments
| Arguments | Type | Direction | Purpose |
|---|---|---|---|
| UBIKObject | BaseClass | In | A UBIK object |
| Text | String | In | The text to be written |
| Result | Boolean | Out | Returns True on success, false on error |
Usage
This activity is used to create new UBIK® objects during the execution of a workflow. Since it only needs to know the MetaClass to create objects from, it can be used to create regular content objects as well as properties or anything else.
| This activity does not automatically save changes. If you want to persist the newly created instance, you need i.e. a subsequent SaveObject activity! |
