Changes
Created page with "{{ActivityInfoBox | title = Replicate instance | name = ReplicateInstance | image = | imagecaption = Activity ReplicateInstance | purpose = Delete an object from the database..."
{{ActivityInfoBox
| title = Replicate instance
| name = ReplicateInstance
| image =
| imagecaption = Activity ReplicateInstance
| purpose = Delete an object from the database
| category = Replication
| returns = An instance of ReplicationResult if successful
| version = 2.5.1+
}}
The ReplicateInstance Activity creates a replicate of the given instance based on the given configuration.
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| SourceObject|| [[RelationalObject]] || In || The object to be replicated
|- align="left"
| ReplicationConfiguration|| [[InstanceReplication]] || In || The replication configuration object
|- align="left"
| AutoSave|| {{Boolean_MSDN}}|| In || If True, the replication result gets saved (bulk save) right after the creation.
|- align="left"
| Result|| {{ReplicationResult}|| Out || The result of the replication if successful, null if failed
|}
==Usage==
This activity is used to replicate the given instance based on the given configuration.
==Example==
Delete the given object shallow:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| SourceObject|| Connect this argument with the instance you want to replicate
|- align="left"
| ReplicationConfiguration|| Connect this argument with a instance replication configuration
|- align="left"
| AutoSave || <source lang = "vbnet">True</source>
|}
==See also==
* [[Workflow Designer]]
| title = Replicate instance
| name = ReplicateInstance
| image =
| imagecaption = Activity ReplicateInstance
| purpose = Delete an object from the database
| category = Replication
| returns = An instance of ReplicationResult if successful
| version = 2.5.1+
}}
The ReplicateInstance Activity creates a replicate of the given instance based on the given configuration.
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| SourceObject|| [[RelationalObject]] || In || The object to be replicated
|- align="left"
| ReplicationConfiguration|| [[InstanceReplication]] || In || The replication configuration object
|- align="left"
| AutoSave|| {{Boolean_MSDN}}|| In || If True, the replication result gets saved (bulk save) right after the creation.
|- align="left"
| Result|| {{ReplicationResult}|| Out || The result of the replication if successful, null if failed
|}
==Usage==
This activity is used to replicate the given instance based on the given configuration.
==Example==
Delete the given object shallow:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| SourceObject|| Connect this argument with the instance you want to replicate
|- align="left"
| ReplicationConfiguration|| Connect this argument with a instance replication configuration
|- align="left"
| AutoSave || <source lang = "vbnet">True</source>
|}
==See also==
* [[Workflow Designer]]