Ant Organisation Ltd documentation

WorkflowManager.StartNewWorkflowInstance Method (AuthenticatedUser, WorkflowDefinition, XmlDocument, AntConnection, AntTransaction)

Starts a new workflow instance, based on a workflow definition

public WorkflowInstance StartNewWorkflowInstance(
   AuthenticatedUser user,
   WorkflowDefinition workflowDefinition,
   XmlDocument parametersInstance,
   AntConnection connection,
   AntTransaction transaction
);

Parameters

user
Logged on user
workflowDefinition
Definition of the workflow to start
parametersInstance
Parameters with which to initialise the workflow
connection
Connection to the database
transaction
Transaction on the connection

Return Value

Workflow instance which is started

See Also

WorkflowManager Class | Ant.Workflow Namespace | WorkflowManager.StartNewWorkflowInstance Overload List