Submits specified document to the specified workflow.

Syntax

Visual Basic (declaration)
Public Function SubmitDocumentToFlow( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal FlowDefID as String) as XmlNode

C# (declaration)
public XmlNode SubmitDocumentToFlow( 
string AuthenticationTicket, string Path, string FlowDefID)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of a document
FlowDefID
    string Workflow Definition ID

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the document has been submitted to workflow successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must have at least "Change" right to the document.

See Also