[edit]
Description
| Replicate instance | |
|---|---|
| Name | 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
| 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 |