Click or drag to resize
ConnectionMigrateDocument Method
Converts a document currently in document type workflow to a state in a workflow definition. This method is only supported when Work Isolation Mode is turned off and the document itself is not released. It can also be used to make a transition (reroute) from one state to another within the same workflow definition and to make a transition to the Released state either by revoking the workflow (if it is in the beginning state) or by releasing the document if it is in an end state.

Namespace:  ICMeridianAPI
Assembly:  ICMeridianAPI (in ICMeridianAPI.dll) Version: 4.0.9.0 (4.0.9.0)
Syntax
public void MigrateDocument(
	string vaultidentifier,
	string docid,
	string wfdef,
	string wfstate = "",
	string comments = "",
	Object todopersons = null,
	string transition = ""
)

Parameters

vaultidentifier
Type: SystemString
The vault in which the document resides.
docid
Type: SystemString
The unique identifier of the document inside the vault.
wfdef
Type: SystemString
The internal name of the advanced document workflow definition to which this document should be converted.
wfstate (Optional)
Type: SystemString
The internal name of the workflow state in the definition the document should be set to as current workflow state.
comments (Optional)
Type: SystemString
Optional string. Comment to be written in the comment log of the file.
todopersons (Optional)
Type: SystemObject
Optional. An array of strings each representing a todo person
transition (Optional)
Type: SystemString
Optional. Name of the transition to be executed.
Remarks
If workflow target state is not specified, then the requested TRANSITION of the requested workflow definition is attempted to be executed.
See Also