WorkflowHostCreateWorkflow Method (Uri, WorkflowCreationData, ActionWorkflowApplicationCompletedEventArgs)

Scanjour Workflow4 Reference Manual
Create a workflow from the given data. Creation will be done using the SOM session, which must be impersonated to the calling user.

Namespace:  Scanjour.Workflow4.Host
Assembly:  Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public Guid CreateWorkflow(
	Uri oDataUri,
	WorkflowCreationData workflowData,
	Action<WorkflowApplicationCompletedEventArgs> completedCallback
)

Parameters

oDataUri
Type: SystemUri
The Odata Uri.
workflowData
Type: Scanjour.Workflow4.BaseWorkflowCreationData
Data for workflow creation
completedCallback
Type: SystemActionWorkflowApplicationCompletedEventArgs
Callback that will (if non-null) be called when the workflow completes

Return Value

Type: Guid
Instance identification for the created workflow
See Also

Reference