Click or drag to resize
AutomationStateInfoProviderBulkMoveAutomationStateToTargetContact Method
Moves all automation states assigned to contact identified by given sourceContactID to the state assigned to contact identified by targetContactID.

Namespace: CMS.Automation
Assembly: CMS.Automation (in CMS.Automation.dll) Version: 12.0.0
Syntax
C#
public static void BulkMoveAutomationStateToTargetContact(
	int sourceContactID,
	int targetContactID
)

Parameters

sourceContactID
Type: SystemInt32
Identifier of the contact the assigned state is moved from
targetContactID
Type: SystemInt32
Identifier of the contact the assigned state is moved to
Remarks
This method should be used only in the merging process. Note that there is no consistency check on whether the states with given IDs exist or not. Caller of this method should perform all the neccessary checks prior to the method invocation.
See Also