BlueCielo Meridian Connection API 2012 Reference Guide | BlueCielo ECM Solutions |
You are here:
Namespaces > ICMeridianAPI > Connection > MigrateDocument(String, String, String, String, String, Object, String)
MigrateDocument Method (vaultidentifier, docid, wfdef, wfstate, comments, todopersons, transition)
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.

C# | Visual Basic | Visual C++ |
public void MigrateDocument( string vaultidentifier, string docid, string wfdef, string wfstate, string comments, Object todopersons, string transition )

- vaultidentifier (String)
- The vault in which the document resides.
- docid (String)
- The unique identifier of the document inside the vault.
- wfdef (String)
- The internal name of the advanced document workflow definition to which this document should be converted.
- wfstate (String)
- The internal name of the workflow state in the definition the document should be set to as current workflow state.
- comments (String)
- Optional string. Comment to be written in the comment log of the file.
- todopersons (Object)
- Optional. An array of strings each representing a todo person
- transition (String)
- Optional. Name of the transition to be executed.

If workflow target state is not specified, then the requested TRANSITION of the requested workflow definition
is attempted to be executed.