Difference between revisions of "Activity:SaveObject (Activity)"
(→Usage) |
|||
| Line 31: | Line 31: | ||
==Usage== | ==Usage== | ||
| − | This activity is used save a newly created or changed object to the database. | + | This activity is used save a newly created or changed object to the database. This is necessary if you create a new object during the workflow, e.g. with the [[Activity CreateInstance|CreateInstance activity]] or if you modified an existing object with the [[Activity SetPropertyValue|SetPropertyValue activity]]. |
==Example== | ==Example== | ||
Revision as of 11:50, 19 July 2013
The SaveObject Activity saves a UBIK® object to the database.
| Save Object | |
|---|---|
| Name | SaveObject |
| Purpose | Save an object to the database |
| Category | Object Primitives |
| Returns | True if successful |
| Version | 2.1+ |
Contents
Arguments
| Arguments | Type | Direction | Purpose |
|---|---|---|---|
| MetaClass | BaseClass | In | The MetaClass to create the instance from |
| Result | RelationalObject | Out | The created instance, null if creation failed |
Usage
This activity is used save a newly created or changed object to the database. This is necessary if you create a new object during the workflow, e.g. with the CreateInstance activity or if you modified an existing object with the SetPropertyValue activity.
