Submits specified document to the specified workflow. The call allows you to specify the task assignees at the time of the submission.

Syntax

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

C# (declaration)
public XmlNode SubmitDocumentToFlow1( 
string AuthenticationTicket, string Path, string FlowDefID, string StepPlayerIDs, string StepGroupIDs)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of a document
FlowDefID
    string Workflow Definition ID
StepPlayerIDs
    string Comma delimited userids, if the workflow required first step players
StepGroupIDs
    string Comma delimited groupids, if the workflow required first step players

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.