Jump to: navigation, search

Difference between revisions of "Activity:ReplicateInstance (Activity)"


(Created page with "{{ActivityInfoBox | title = Replicate instance | name = ReplicateInstance | image = | imagecaption = Activity ReplicateInstance | purpose = Delete an object from the database...")
 
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
=Description=
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Replicate instance
 
| title = Replicate instance
Line 4: Line 5:
 
| image =  
 
| image =  
 
| imagecaption = Activity ReplicateInstance
 
| imagecaption = Activity ReplicateInstance
| purpose = Delete an object from the database
+
| purpose = Create a replicate of an object
 
| category = Replication
 
| category = Replication
 
| returns = An instance of ReplicationResult if successful
 
| returns = An instance of ReplicationResult if successful
Line 11: Line 12:
 
The ReplicateInstance Activity creates a replicate of the given instance based on the given configuration.
 
The ReplicateInstance Activity creates a replicate of the given instance based on the given configuration.
  
==Arguments==
+
=== Arguments ===
  
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
Line 21: Line 22:
 
| ReplicationConfiguration|| [[InstanceReplication]] || In || The replication configuration object
 
| ReplicationConfiguration|| [[InstanceReplication]] || In || The replication configuration object
 
|- align="left"
 
|- align="left"
| AutoSave|| {{Boolean_MSDN}}|| In || If True, the replication result gets saved (bulk save) right after the creation.
+
| AutoSave|| {{Boolean_MSDN}}|| In || If True, the replication results get saved right after creation.
 
|- align="left"
 
|- align="left"
| Result|| {{ReplicationResult}|| Out || The result of the replication if successful, null if failed
+
| Result|| {{ReplicationResult}}|| Out || The result of the replication if successful, null if failed
 
|}
 
|}
  
==Usage==
+
=== Usage ===
  
 
This activity is used to replicate the given instance based on the given configuration.
 
This activity is used to replicate the given instance based on the given configuration.
  
 +
= Example =
  
 
+
This example creates a replicate of the source object based on the replication configuration and saves the results in the database.
==Example==
+
 
+
Delete the given object shallow:
+
 
+
  
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
Line 46: Line 44:
 
|- align="left"
 
|- align="left"
 
| AutoSave || <source lang = "vbnet">True</source>
 
| AutoSave || <source lang = "vbnet">True</source>
 +
|- align="left"
 +
| Result || Connect this argument with a variable for further processing of the result information
 
|}
 
|}
 +
 +
<headertabs />
  
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 +
 +
[[Category:Activities|ReplicateInstance (Activity)]]

Latest revision as of 12:05, 10 November 2015

[edit]

Description

Replicate instance
Name ReplicateInstance
Purpose Create a replicate of an object
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

Argument Type Direction Purpose
SourceObject RelationalObject In The object to be replicated
ReplicationConfiguration InstanceReplication In The replication configuration object
AutoSave Boolean In If True, the replication results get saved right after creation.
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

This example creates a replicate of the source object based on the replication configuration and saves the results in the database.

Argument Value
SourceObject Connect this argument with the instance you want to replicate
ReplicationConfiguration Connect this argument with a instance replication configuration
AutoSave
True
Result Connect this argument with a variable for further processing of the result information

See also