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: 21.3.0.0 (21.3.0.0)
Syntax
public Guid CreateWorkflow( Uri oDataUri, WorkflowCreationData workflowData, Action<WorkflowApplicationCompletedEventArgs> completedCallback, SecurityContext securityContext = SecurityContext.User )
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 - securityContext (Optional)
- Type: Scanjour.Workflow4.BaseSecurityContext
Security context with default user context.
Return Value
Type: GuidInstance identification for the created workflow
See Also