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 = | + | | 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 | + | | 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. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
{| 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)]] |