Difference between revisions of "Activity:DeleteObject (Activity)"
(Created page with "The DeleteObject Activity deletes a {{UBIK}} object from memory and the database. {{ActivityInfoBox | title = Delete Object | name = DeleteObject | image = | imagecaption =...") |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The DeleteObject Activity deletes a {{UBIK}} object from memory and the database. | The DeleteObject Activity deletes a {{UBIK}} object from memory and the database. | ||
− | + | = Description = | |
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Delete Object | | title = Delete Object | ||
Line 13: | Line 13: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | + | ||
− | + | ||
− | ==Arguments== | + | |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
Line 23: | Line 19: | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | UBIKObject|| BaseClass || In || The object to delete | + | | UBIKObject|| [[BaseClass]] || In || The object to delete |
|- align="left" | |- align="left" | ||
− | | ShallowDelete|| | + | | ShallowDelete|| {{Boolean_MSDN}}|| In || If True, only the object itself will be deleted, if false it will try to also delete affected objects of the change ("Deep delete") |
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed |
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
− | This activity is used to delete a previously created object (e.g. with the [[Activity | + | This activity is used to delete a previously created object (e.g. with the [[Activity:CreateInstance_(Activity)|CreateInstance]] activity) from memory and the database. |
{{Attention|The delete is permanent, the object can bot be restored!}} | {{Attention|The delete is permanent, the object can bot be restored!}} | ||
− | + | =Example= | |
− | + | ||
Delete the given object shallow: | Delete the given object shallow: | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 47: | Line 41: | ||
| UBIKObject|| Connect this argument with a variable | | UBIKObject|| Connect this argument with a variable | ||
|- align="left" | |- align="left" | ||
− | | ShallowDelete || <source lang = "vbnet"> | + | | ShallowDelete || <source lang = "vbnet">True</source> |
|} | |} | ||
+ | |||
+ | <headertabs /> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[Activity CreateInstance]] | + | * [[Activity:CreateInstance (Activity)]] |
− | + | [[Category:Activities|DeleteObject (Activity)]] |
Latest revision as of 09:06, 4 November 2015
The DeleteObject Activity deletes a UBIK® object from memory and the database.