Click or drag to resize

WorkflowHostCreateWorkflow(Uri, WorkflowCreationData, ActionWorkflowApplicationCompletedEventArgs, SecurityContext) Method

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: 24.5.0.0 (24.5.0.0)
Syntax
public Guid CreateWorkflow(
	Uri oDataUri,
	WorkflowCreationData workflowData,
	Action<WorkflowApplicationCompletedEventArgs> completedCallback,
	SecurityContext securityContext = SecurityContext.User
)

Parameters

oDataUri  Uri
The Odata Uri.
workflowData  WorkflowCreationData
Data for workflow creation
completedCallback  ActionWorkflowApplicationCompletedEventArgs
Callback that will (if non-null) be called when the workflow completes
securityContext  SecurityContext  (Optional)
Security context with default user context.

Return Value

Guid
Instance identification for the created workflow
See Also