Jump to: navigation, search

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


 
(4 intermediate revisions by one other user not shown)
Line 5: 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 31: Line 31:
 
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=
+
  
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
Line 44: 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